Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for hashCodeImpl (0.08 sec)

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

       * {@link #iterator}, you may wish to override {@link #hashCode} to forward to this
       * implementation.
       *
       * @since 7.0
       */
      protected int standardHashCode() {
        return Lists.hashCodeImpl(this);
      }
    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/collect/ForwardingList.java

       * {@link #iterator}, you may wish to override {@link #hashCode} to forward to this
       * implementation.
       *
       * @since 7.0
       */
      protected int standardHashCode() {
        return Lists.hashCodeImpl(this);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularContiguousSet.java

          }
        }
        return super.equals(object);
      }
    
      // copied to make sure not to use the GWT-emulated version
      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(this);
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
      private static final class SerializedForm<C extends Comparable> implements Serializable {
        final Range<C> range;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          return equalsImpl(this, object);
        }
    
        @Override
        public int hashCode() {
          return hashCodeImpl(this);
        }
      }
    
      private static class FilteredSortedSet<E extends @Nullable Object> extends FilteredSet<E>
          implements SortedSet<E> {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Lists.java

          implements RandomAccess {
        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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMap.java

      public boolean equals(@CheckForNull 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMap.java

      public boolean equals(@CheckForNull 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

        @Override
        public boolean equals(@CheckForNull Object object) {
          return Sets.equalsImpl(this, object);
        }
    
        @Override
        public int hashCode() {
          return Sets.hashCodeImpl(this);
        }
      }
    
      /**
       * Returns a {@link Converter} that converts values using {@link BiMap#get bimap.get()}, and whose
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
Back to top