Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 55 of 55 for buildOrThrow (0.18 sec)

  1. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          if (method.isAnnotationPresent(Generates.class)) {
            builder.put(method.getReturnType(), method);
          }
        }
        GENERATORS = builder.buildOrThrow();
      }
    
      private static final ImmutableMap<Class<?>, Method> EMPTY_GENERATORS;
    
      static {
        ImmutableMap.Builder<Class<?>, Method> builder = ImmutableMap.builder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RegularImmutableMap.java

            }
            duplicates.put(effectiveEntry, true);
            dupCount++;
            // Make sure we are not overwriting the original entries array, in case we later do
            // buildOrThrow(). We would want an exception to include two values for the duplicate key.
            if (entries == entryArray) {
              // Temporary variable is necessary to defeat bad smartcast (entries adopting the type of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

              .put("HmacSHA1", SHA1_KEY, Hashing.hmacSha1(SHA1_KEY))
              .put("HmacSHA256", SHA256_KEY, Hashing.hmacSha256(SHA256_KEY))
              .put("HmacSHA512", SHA512_KEY, Hashing.hmacSha512(SHA512_KEY))
              .buildOrThrow();
    
      public void testNulls() {
        NullPointerTester tester =
            new NullPointerTester().setDefault(String.class, "HmacMD5").setDefault(Key.class, MD5_KEY);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeResolver.java

            Type type = mapping.getValue();
            checkArgument(!variable.equalsType(type), "Type variable %s bound to itself", variable);
            builder.put(variable, type);
          }
          return new TypeTable(builder.buildOrThrow());
        }
    
        final Type resolve(TypeVariable<?> var) {
          TypeTable unguarded = this;
          TypeTable guarded =
              new TypeTable() {
                @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/TypeResolver.java

            Type type = mapping.getValue();
            checkArgument(!variable.equalsType(type), "Type variable %s bound to itself", variable);
            builder.put(variable, type);
          }
          return new TypeTable(builder.buildOrThrow());
        }
    
        final Type resolve(TypeVariable<?> var) {
          TypeTable unguarded = this;
          TypeTable guarded =
              new TypeTable() {
                @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top