Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for hashCodeImpl (0.07 sec)

  1. 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)
  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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
Back to top