- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for buildSorted (0.05 sec)
-
android/guava/src/com/google/common/collect/ImmutableList.java
* Returns a newly-created {@code ImmutableList} based on the contents of the {@code Builder}, * sorted according to the specified comparator. */ @SuppressWarnings("unchecked") ImmutableList<E> buildSorted(Comparator<? super E> comparator) { // Currently only used by ImmutableListMultimap.Builder.orderValuesBy. // In particular, this implies that the comparator can never get "removed," so this can't
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 27.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableListMultimap.java
K key = entry.getKey(); ImmutableList.Builder<V> values = (ImmutableList.Builder<V>) entry.getValue(); ImmutableList<V> list = (valueComparator == null) ? values.build() : values.buildSorted(valueComparator); builder.put(key, list); size += list.size(); } return new ImmutableListMultimap<>(builder.buildOrThrow(), size); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 19.3K bytes - Viewed (0)