Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 65 of 65 for buildOrThrow (0.08 sec)

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

        checkNotNull(keyFunction);
        while (values.hasNext()) {
          V value = values.next();
          builder.put(keyFunction.apply(value), value);
        }
        try {
          return builder.buildOrThrow();
        } catch (IllegalArgumentException duplicateKeys) {
          throw new IllegalArgumentException(
              duplicateKeys.getMessage()
                  + ". To index multiple values under a key, use Multimaps.index.");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Maps.java

        checkNotNull(keyFunction);
        while (values.hasNext()) {
          V value = values.next();
          builder.put(keyFunction.apply(value), value);
        }
        try {
          return builder.buildOrThrow();
        } catch (IllegalArgumentException duplicateKeys) {
          throw new IllegalArgumentException(
              duplicateKeys.getMessage()
                  + ". To index multiple values under a key, use Multimaps.index.");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top