- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for occurrences (0.14 sec)
-
android/guava/src/com/google/common/collect/Multimaps.java
checkNonnegative(occurrences, "occurrences"); if (occurrences == 0) { return count(element); } Collection<V> values = Maps.safeGet(multimap.asMap(), element); if (values == null) { return 0; } int oldCount = values.size(); if (occurrences >= oldCount) { values.clear();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 86.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
* elements. * * <p>If the mapped keys contain duplicates (according to the comparator), the values are merged * using the specified merging function. Entries will appear in the encounter order of the first * occurrence of the key. * * @since 21.0 */ public static <T extends @Nullable Object, K, V> Collector<T, ?, ImmutableSortedMap<K, V>> toImmutableSortedMap( Comparator<? super K> comparator,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
* elements. * * <p>If the mapped keys contain duplicates (according to the comparator), the values are merged * using the specified merging function. Entries will appear in the encounter order of the first * occurrence of the key. * * @since 33.2.0 (available since 21.0 in guava-jre) */ @SuppressWarnings("Java7ApiChecker") @IgnoreJRERequirement // Users will use this only if they're already using streams.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 53K bytes - Viewed (0)