Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for valuesBuilder (0.1 sec)

  1. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        ImmutableList.Builder<V> valuesBuilder = new ImmutableList.Builder<>(map.size());
        for (Entry<Range<K>, ? extends V> entry : map.entrySet()) {
          rangesBuilder.add(entry.getKey());
          valuesBuilder.add(entry.getValue());
        }
        return new ImmutableRangeMap<>(rangesBuilder.build(), valuesBuilder.build());
      }
    
      /** Returns a new builder for an immutable range map. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableMultimap.java

          checkEntryNotNull(key, value);
          ImmutableCollection.Builder<V> valuesBuilder = ensureBuilderMapNonNull().get(key);
          if (valuesBuilder == null) {
            valuesBuilder = newValueCollectionBuilderWithExpectedSize(expectedValuesPerKey);
            ensureBuilderMapNonNull().put(key, valuesBuilder);
          }
          valuesBuilder.add(value);
          return this;
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSetMultimap.java

          }
    
          ImmutableSet.Builder<Object> valuesBuilder = valuesBuilder(valueComparator);
          for (int j = 0; j < valueCount; j++) {
            valuesBuilder.add(requireNonNull(stream.readObject()));
          }
          ImmutableSet<Object> valueSet = valuesBuilder.build();
          if (valueSet.size() != valueCount) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

          }
    
          ImmutableSet.Builder<Object> valuesBuilder = valuesBuilder(valueComparator);
          for (int j = 0; j < valueCount; j++) {
            valuesBuilder.add(requireNonNull(stream.readObject()));
          }
          ImmutableSet<Object> valueSet = valuesBuilder.build();
          if (valueSet.size() != valueCount) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableListMultimap.java

            throw new InvalidObjectException("Invalid value count " + valueCount);
          }
    
          ImmutableList.Builder<Object> valuesBuilder = ImmutableList.builder();
          for (int j = 0; j < valueCount; j++) {
            valuesBuilder.add(requireNonNull(stream.readObject()));
          }
          builder.put(key, valuesBuilder.build());
          tmpSize += valueCount;
        }
    
        ImmutableMap<Object, ImmutableList<Object>> tmpMap;
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 20:20:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

            throw new InvalidObjectException("Invalid value count " + valueCount);
          }
    
          ImmutableList.Builder<Object> valuesBuilder = ImmutableList.builder();
          for (int j = 0; j < valueCount; j++) {
            valuesBuilder.add(requireNonNull(stream.readObject()));
          }
          builder.put(key, valuesBuilder.build());
          tmpSize += valueCount;
        }
    
        ImmutableMap<Object, ImmutableList<Object>> tmpMap;
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/MediaType.java

              tokenizer.consumeCharacter('"');
              StringBuilder valueBuilder = new StringBuilder();
              while ('"' != tokenizer.previewChar()) {
                if ('\\' == tokenizer.previewChar()) {
                  tokenizer.consumeCharacter('\\');
                  valueBuilder.append(tokenizer.consumeCharacter(ascii()));
                } else {
                  valueBuilder.append(tokenizer.consumeToken(QUOTED_TEXT_MATCHER));
                }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
Back to top