- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for copyFromEntries (0.12 sec)
-
android/guava/src/com/google/common/collect/CollectCollectors.java
(multiset1, multiset2) -> { multiset1.addAll(multiset2); return multiset1; }, (Multiset<E> multiset) -> ImmutableMultiset.copyFromEntries(multiset.entrySet())); } static <T extends @Nullable Object, E extends @Nullable Object, M extends Multiset<E>> Collector<T, ?, M> toMultiset( Function<? super T, E> elementFunction,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 17.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
Entry<E>[] entries = (Entry<E>[]) multiset.entrySet().toArray((Entry<E>[]) new Entry<?>[0]); Arrays.sort(entries, DecreasingCount.INSTANCE); return ImmutableMultiset.copyFromEntries(asList(entries)); } private static final class DecreasingCount implements Comparator<Entry<?>> { static final Comparator<Entry<?>> INSTANCE = new DecreasingCount(); @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 41.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multisets.java
Entry<E>[] entries = (Entry<E>[]) multiset.entrySet().toArray((Entry<E>[]) new Entry<?>[0]); Arrays.sort(entries, DecreasingCount.INSTANCE); return ImmutableMultiset.copyFromEntries(asList(entries)); } private static final class DecreasingCount implements Comparator<Entry<?>> { static final Comparator<Entry<?>> INSTANCE = new DecreasingCount(); @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 41.5K bytes - Viewed (0)