Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ImmutableSupplier (0.24 sec)

  1. android/guava/src/com/google/common/hash/ImmutableSupplier.java

     * Explicitly named subinterface of {@link Supplier} that can be marked {@literal @}{@link
     * Immutable}.
     */
    // TODO(cpovirk): Should we just use ChecksumType directly instead of defining this type?
    @Immutable
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 991 bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/ImmutableSupplier.java

     * Explicitly named subinterface of {@link Supplier} that can be marked {@literal @}{@link
     * Immutable}.
     */
    // TODO(cpovirk): Should we just use ChecksumType directly instead of defining this type?
    @Immutable
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 991 bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/ChecksumHashFunction.java

     */
    @Immutable
    final class ChecksumHashFunction extends AbstractHashFunction implements Serializable {
      private final ImmutableSupplier<? extends Checksum> checksumSupplier;
      private final int bits;
      private final String toString;
    
      ChecksumHashFunction(
          ImmutableSupplier<? extends Checksum> checksumSupplier, int bits, String toString) {
        this.checksumSupplier = checkNotNull(checksumSupplier);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Hashing.java

       *
       * @since 18.0
       */
      public static HashFunction crc32c() {
        return Crc32CSupplier.HASH_FUNCTION;
      }
    
      @Immutable
      private enum Crc32CSupplier implements ImmutableSupplier<HashFunction> {
        @J2ObjCIncompatible
        JAVA_UTIL_ZIP {
          @Override
          public HashFunction get() {
            return ChecksumType.CRC_32C.hashFunction;
          }
        },
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Hashing.java

       *
       * @since 14.0
       */
      public static HashFunction adler32() {
        return ChecksumType.ADLER_32.hashFunction;
      }
    
      @Immutable
      enum ChecksumType implements ImmutableSupplier<Checksum> {
        CRC_32("Hashing.crc32()") {
          @Override
          public Checksum get() {
            return new CRC32();
          }
        },
        ADLER_32("Hashing.adler32()") {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
Back to top