Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 557 for hashCode (0.07 sec)

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

        List<String> list = transform(SOME_LIST, SOME_FUNCTION);
        assertEquals(SOME_STRING_LIST.hashCode(), list.hashCode());
      }
    
      public void testTransformHashCodeSequential() {
        List<String> list = transform(SOME_SEQUENTIAL_LIST, SOME_FUNCTION);
        assertEquals(SOME_STRING_LIST.hashCode(), list.hashCode());
      }
    
      public void testTransformModifiableRandomAccess() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/LongsTest.java

      @GwtIncompatible // Long.hashCode returns different values in GWT.
      public void testHashCode() {
        for (long value : VALUES) {
          assertWithMessage("hashCode for " + value)
              .that(Longs.hashCode(value))
              .isEqualTo(((Long) value).hashCode());
        }
      }
    
      public void testCompare() {
        for (long x : VALUES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ListsTest.java

        List<String> list = transform(SOME_LIST, SOME_FUNCTION);
        assertEquals(SOME_STRING_LIST.hashCode(), list.hashCode());
      }
    
      public void testTransformHashCodeSequential() {
        List<String> list = transform(SOME_SEQUENTIAL_LIST, SOME_FUNCTION);
        assertEquals(SOME_STRING_LIST.hashCode(), list.hashCode());
      }
    
      public void testTransformModifiableRandomAccess() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/BaseEncoding.java

                && Objects.equals(this.paddingChar, that.paddingChar);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return alphabet.hashCode() ^ Objects.hashCode(paddingChar);
        }
      }
    
      private static final class Base16Encoding extends StandardBaseEncoding {
        final char[] encoding = new char[512];
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Range.java

        }
        return false;
      }
    
      /** Returns a hash code for this range. */
      @Override
      public int hashCode() {
        return lowerBound.hashCode() * 31 + upperBound.hashCode();
      }
    
      /**
       * Returns a string representation of this range, such as {@code "[3..5)"} (other examples are
       * listed in the class documentation).
       */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

          return standardCount(element);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return standardEquals(object);
        }
    
        @Override
        public int hashCode() {
          return standardHashCode();
        }
    
        @Override
        public boolean add(E element) {
          return standardAdd(element);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java

                Objects.equals(typeArgs, that.typeArgs) &&
                Objects.equals(upperBounds, that.upperBounds) &&
                Objects.equals(lowerBounds, that.lowerBounds);
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(name, arrayDimensions, varargs, typeArgs, wildcard, upperBounds, lowerBounds);
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

          @Override
          @J2ktIncompatible // serialization
          Object writeReplace() {
            return super.writeReplace();
          }
        };
      }
    
      @Override
      public int hashCode() {
        return asMapOfRanges().hashCode();
      }
    
      @Override
      public boolean equals(@CheckForNull Object o) {
        if (o instanceof RangeMap) {
          RangeMap<?, ?> rangeMap = (RangeMap<?, ?>) o;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/CacheStats.java

            saturatedAdd(totalLoadTime, other.totalLoadTime),
            saturatedAdd(evictionCount, other.evictionCount));
      }
    
      @Override
      public int hashCode() {
        return Objects.hashCode(
            hitCount, missCount, loadSuccessCount, loadExceptionCount, totalLoadTime, evictionCount);
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheStats.java

            saturatedAdd(totalLoadTime, other.totalLoadTime),
            saturatedAdd(evictionCount, other.evictionCount));
      }
    
      @Override
      public int hashCode() {
        return Objects.hashCode(
            hitCount, missCount, loadSuccessCount, loadExceptionCount, totalLoadTime, evictionCount);
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top