Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 1,770 for equal (0.03 sec)

  1. guava/src/com/google/common/collect/ForwardingList.java

      }
    
      @Override
      public List<E> subList(int fromIndex, int toIndex) {
        return delegate().subList(fromIndex, toIndex);
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        return object == this || delegate().equals(object);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/PairwiseEquivalence.java

        }
        return hash;
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object instanceof PairwiseEquivalence) {
          @SuppressWarnings("unchecked")
          PairwiseEquivalence<Object, Object> that = (PairwiseEquivalence<Object, Object>) object;
          return this.elementEquivalence.equals(that.elementEquivalence);
        }
    
        return false;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 15:09:35 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ReverseOrdering.java

      public int hashCode() {
        return -forwardOrder.hashCode();
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof ReverseOrdering) {
          ReverseOrdering<?> that = (ReverseOrdering<?>) object;
          return this.forwardOrder.equals(that.forwardOrder);
        }
        return false;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java

        // instead of Object[].
        return delegateList().toArray(new Object[size()]);
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return delegateList().equals(obj);
      }
    
      @Override
      public int hashCode() {
        return delegateList().hashCode();
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompoundOrdering.java

            return result;
          }
        }
        return 0;
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof CompoundOrdering) {
          CompoundOrdering<?> that = (CompoundOrdering<?>) object;
          return Arrays.equals(this.comparators, that.comparators);
        }
        return false;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

        }
      }
    
      private interface Equals {
        @Override
        boolean equals(@Nullable Object obj);
    
        @Override
        int hashCode();
    
        @Override
        String toString();
      }
    
      private static class NoDelegateToEquals implements Equals {
    
        private static Function<Equals, Equals> WRAPPER =
            new Function<Equals, Equals>() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        }
      }
    
      static class SlowElement extends Element {
        SlowElement(int hash) {
          super(hash);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return slowItDown() != 1 && super.equals(obj);
        }
    
        @Override
        public int hashCode() {
          return slowItDown() + hash;
        }
    
        @Override
        public int compareTo(Element e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ForwardingTable.java

        return delegate().size();
      }
    
      @Override
      public Collection<V> values() {
        return delegate().values();
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        return (obj == this) || delegate().equals(obj);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

    import com.google.common.testing.EqualsTester;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Tester for {@code Multimap.equals}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof MethodSignature) {
            MethodSignature other = (MethodSignature) obj;
            return name.equals(other.name)
                && parameterTypes.equals(other.parameterTypes)
                && typeSignature.equals(other.typeSignature);
          }
    
          return false;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top