- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 1,632 for collector (0.24 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava/src/com/google/common/collect/ImmutableMultimap.java
*/ int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) { if (values instanceof Collection<?>) { Collection<?> collection = (Collection<?>) values; return max(defaultExpectedValues, collection.size()); } else { return defaultExpectedValues; } } /** Adds a key-value mapping to the built multimap. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 28.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java
return Multimaps.filterEntries(unfiltered, PREDICATE); } @Override protected Map<String, Collection<Integer>> makeEmptyMap() { Multimap<String, Integer> multimap = createMultimap(); return multimap.asMap(); } @Override protected Map<String, Collection<Integer>> makePopulatedMap() { Multimap<String, Integer> multimap = createMultimap(); populate(multimap);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 03:49:18 GMT 2025 - 2.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/FilteredKeyMultimap.java
} @Override public boolean addAll(Collection<? extends V> collection) { addAll(0, collection); return true; } @CanIgnoreReturnValue @Override public boolean addAll(int index, Collection<? extends V> elements) { checkNotNull(elements); checkPositionIndex(index, 0);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterables.java
if (iterable instanceof Collection) { Collection<?> collection = (Collection<?>) iterable; return Collections2.safeContains(collection, element); } return Iterators.contains(iterable.iterator(), element); } /** * Removes, from an iterable, every element that belongs to the provided collection. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 18:35:28 GMT 2025 - 43.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.collect.Iterators.peekingIterator; import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE; import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE; import static java.util.Collections.emptyList;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 07:39:11 GMT 2025 - 25.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableAsList.java
@GwtIncompatible @J2ktIncompatible private static final class SerializedForm implements Serializable { final ImmutableCollection<?> collection; SerializedForm(ImmutableCollection<?> collection) { this.collection = collection; } Object readResolve() { return collection.asList(); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } @GwtIncompatibleCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractSetMultimap.java
@Override Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) { return new WrappedSet(key, (Set<V>) collection); } // Following Javadoc copied from SetMultimap. /** * {@inheritDoc} * * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a * {@link Set}, instead of the {@link Collection} specified in the {@link Multimap} interface. */ @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Mar 20 13:05:10 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ds/AbstractDataStore.java
value = value.replace("${" + entry.getKey() + "}", entry.getValue()); } return new Pair<>(key, value); }).collect(Collectors.toMap(Pair<String, String>::getFirst, Pair<String, String>::getSecond)); final Map<String, String> configScriptMap = config.getHandlerScriptMap(); initParamMap.putAll(configParamMap);
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 7.6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
poms = Files.walk(userHome.resolve(".m2/repository/org/apache/maven")) .filter(p -> p.getFileName().toString().endsWith(".pom")) .collect(Collectors.toList()); } } @Benchmark public int readWithStax(AdditionState state) throws IOException, XMLStreamException { int i = 0; for (Path pom : state.poms) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 3.3K bytes - Click Count (0)