Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,655 for Equalf (0.08 sec)

  1. android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

        @Override
        public String toString() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.toString();
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.equals(o);
        }
    
        @Override
        public int hashCode() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.hashCode();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AllEqualOrdering.java

    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    import java.util.List;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An ordering that treats all references as equals, even nulls.
     *
     * @author Emily Soldal
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:24:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AllEqualOrdering.java

    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    import java.util.List;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An ordering that treats all references as equals, even nulls.
     *
     * @author Emily Soldal
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:24:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * over keys in the order they were first encountered in the input, and the values for each key
       * are iterated in the order they were encountered. If two values for the same key are {@linkplain
       * Object#equals equal}, the first value encountered is used.
       *
       * @throws NullPointerException if any key, value, or entry is null
       * @since 19.0
       */
      public static <K, V> ImmutableSetMultimap<K, V> copyOf(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SingletonImmutableSet.java

        this.element = Preconditions.checkNotNull(element);
      }
    
      @Override
      public int size() {
        return 1;
      }
    
      @Override
      public boolean contains(@CheckForNull Object target) {
        return element.equals(target);
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return singletonIterator(element);
      }
    
      @Override
      public ImmutableList<E> asList() {
        return ImmutableList.of(element);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableMap.java

              if (previousKeyIndex == BYTE_MASK) { // -1 signed becomes 255 unsigned
                hashTable[h] = (byte) outKeyIndex;
                break;
              } else if (key.equals(alternatingKeysAndValues[previousKeyIndex])) {
                duplicateKey =
                    new Builder.DuplicateKey(
                        key, value, requireNonNull(alternatingKeysAndValues[previousKeyIndex ^ 1]));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                  @Override
                  public int hashCode() {
                    return map.hashCode();
                  }
    
                  @Override
                  public boolean equals(@Nullable Object o) {
                    return map.equals(o);
                  }
    
                  @Override
                  public String toString() {
                    return map.toString();
                  }
    
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ExtraObjectsMethodsForWeb.java

     * the License.
     */
    
    package com.google.common.base;
    
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Holder for extra methods of {@code Objects} only in web. */
    public abstract class ExtraObjectsMethodsForWeb {
      public static boolean equal(@Nullable String a, @Nullable String b) {
        return a == b;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 07 01:40:05 UTC 2023
    - 901 bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/Parameter.java

        return requireNonNull((AnnotatedType) annotatedType);
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj instanceof Parameter) {
          Parameter that = (Parameter) obj;
          return position == that.position && declaration.equals(that.declaration);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return position;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 16 15:12:31 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java

      public <T extends @Nullable Object> T[] toArray(T[] other) {
        return delegate.toArray(other);
      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    
      // TODO(cpovirk): equals(), as well, in case it's any faster than Sets.equalsImpl?
    
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top