- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 1,157 for collectors (0.13 seconds)
-
guava/src/com/google/common/collect/ImmutableSortedSet.java
/** * Returns a {@code Collector} that accumulates the input elements into a new {@code * ImmutableSortedSet}, ordered by the specified comparator. * * <p>If the elements contain duplicates (according to the comparator), only the first duplicate * in encounter order will appear in the result. * * @since 21.0 */ public static <E> Collector<E, ?, ImmutableSortedSet<E>> toImmutableSortedSet(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 39.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashSet.java
* than {@code size()}. Furthermore, this structure only depends on a fixed number of arrays; {@code * add(x)} operations <i>do not</i> create objects for the garbage collector to deal with, and for * every element added, the garbage collector will have to traverse {@code 1.5} references on * average, in the marking phase, not {@code 5.0} as in {@code java.util.HashSet}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 24.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/Sets.java
* @throws IllegalArgumentException if {@code map} is not empty * @deprecated Use {@link Collections#newSetFromMap} instead. */ @InlineMe(replacement = "Collections.newSetFromMap(map)", imports = "java.util.Collections") @Deprecated public static <E extends @Nullable Object> Set<E> newSetFromMap( Map<E, Boolean> map) { return Collections.newSetFromMap(map); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 83K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Sets.java
* @throws IllegalArgumentException if {@code map} is not empty * @deprecated Use {@link Collections#newSetFromMap} instead. */ @InlineMe(replacement = "Collections.newSetFromMap(map)", imports = "java.util.Collections") @Deprecated public static <E extends @Nullable Object> Set<E> newSetFromMap( Map<E, Boolean> map) { return Collections.newSetFromMap(map); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 81.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableList.java
import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.Iterator; import java.util.List; import java.util.RandomAccess; import java.util.Spliterator; import java.util.function.Consumer; import java.util.function.UnaryOperator; import java.util.stream.Collector; import org.jspecify.annotations.Nullable; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 30.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java
Collector<Entry<AnEnum, Integer>, ?, ImmutableMap<AnEnum, Integer>> collector = toImmutableEnumMap(Entry::getKey, Entry::getValue); assertThrows( IllegalArgumentException.class, () -> Stream.of(mapEntry(AnEnum.A, 1), mapEntry(AnEnum.A, 11)).collect(collector)); } public void testToImmutableMapMerging() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 6.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
*/ public static <T extends @Nullable Object, K, V> Collector<T, ?, ImmutableSetMultimap<K, V>> toImmutableSetMultimap( Function<? super T, ? extends K> keyFunction, Function<? super T, ? extends V> valueFunction) { return CollectCollectors.toImmutableSetMultimap(keyFunction, valueFunction); } /** * Returns a {@code Collector} accumulating entries into an {@code ImmutableSetMultimap}. Each
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 19 22:57:35 GMT 2026 - 26.1K bytes - Click Count (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java
collector.setSource("SOURCE_PROBLEM2"); collector.add(null, "PROBLEM2", -1, -1, null); collector.setSource("SOURCE_PROBLEM3"); collector.add(null, "PROBLEM3", -1, -1, null); assertEquals("", collector.getProblems().get(0).getSource()); assertEquals("SOURCE_PROBLEM2", collector.getProblems().get(1).getSource());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java
public class Lifecycles { static Lifecycle.Phase phase(String name) { return new DefaultPhase(name, Collections.emptyList(), Collections.emptyList(), Collections.emptyList()); } static Lifecycle.Phase phase(String name, Lifecycle.Phase... phases) { return new DefaultPhase(name, Collections.emptyList(), Collections.emptyList(), asList(phases)); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 28 15:21:19 GMT 2025 - 8.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java
new ElevateWord("a", 1.0f, Collections.singletonList("a"), Collections.singletonList("content"), null, null); ElevateWord elevateWord2 = new ElevateWord("b", 0.0f, Collections.singletonList("b"), Collections.singletonList("content"), null, null); ElevateWord elevateWord3 = new ElevateWord("c", 100.0f, Collections.singletonList("c"), Collections.singletonList("content"),
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Nov 23 13:04:17 GMT 2025 - 5.4K bytes - Click Count (0)