- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for buildSorted (0.06 seconds)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
contents.addAll(builder.contents); return this; } @Override public ImmutableList<E> build() { return copyOf(contents); } ImmutableList<E> buildSorted(Comparator<? super E> comparator) { Collections.sort(contents, comparator); return copyOf(contents); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 11.1K bytes - Click Count (0) -
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'tCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 27.5K bytes - Click Count (0) -
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'tCreated: 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/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); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 19.3K bytes - Click Count (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); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 19.5K bytes - Click Count (0)