Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for hashCodeImpl (0.06 sec)

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

       * forward to this implementation.
       *
       * @since 7.0
       */
      protected int standardHashCode() {
        return Sets.hashCodeImpl(entrySet());
      }
    
      /**
       * A sensible definition of {@link #toString} in terms of the {@code iterator} method of {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        return this;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return Lists.equalsImpl(this, obj);
      }
    
      @Override
      public int hashCode() {
        return Lists.hashCodeImpl(this);
      }
    
      public ImmutableList<E> reverse() {
        List<E> list = Lists.newArrayList(this);
        Collections.reverse(list);
        return unsafeDelegateList(list);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMultiset.java

        return offset;
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        return Multisets.equalsImpl(this, object);
      }
    
      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(entrySet());
      }
    
      @Override
      public String toString() {
        return entrySet().toString();
      }
    
      /**
       * @since 21.0 (present with return type {@code Set} since 2.0)
       */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeRangeSet.java

          this.delegate = delegate;
        }
    
        @Override
        protected Collection<Range<C>> delegate() {
          return delegate;
        }
    
        @Override
        public int hashCode() {
          return Sets.hashCodeImpl(this);
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          return Sets.equalsImpl(this, o);
        }
      }
    
      @Override
      public @Nullable Range<C> rangeContaining(C value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSet.java

            && hashCode() != object.hashCode()) {
          return false;
        }
        return Sets.equalsImpl(this, object);
      }
    
      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(this);
      }
    
      // This declaration is needed to make Set.iterator() and
      // ImmutableCollection.iterator() consistent.
      @Override
      public abstract UnmodifiableIterator<E> iterator();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Lists.java

        RandomAccessReverseList(List<T> forwardList) {
          super(forwardList);
        }
      }
    
      /** An implementation of {@link List#hashCode()}. */
      static int hashCodeImpl(List<?> list) {
        // TODO(lowasser): worth optimizing for RandomAccess?
        int hashCode = 1;
        for (Object o : list) {
          hashCode = 31 * hashCode + (o == null ? 0 : o.hashCode());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMap.java

      public boolean equals(@Nullable Object object) {
        return Maps.equalsImpl(this, object);
      }
    
      abstract boolean isPartialView();
    
      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(entrySet());
      }
    
      boolean isHashCodeFast() {
        return false;
      }
    
      @Override
      public String toString() {
        return Maps.toStringImpl(this);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMap.java

      public boolean equals(@Nullable Object object) {
        return Maps.equalsImpl(this, object);
      }
    
      abstract boolean isPartialView();
    
      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(entrySet());
      }
    
      boolean isHashCodeFast() {
        return false;
      }
    
      @Override
      public String toString() {
        return Maps.toStringImpl(this);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
Back to top