Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for buildSorted (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  3. 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
    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)
  4. 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)
  5. 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)
Back to Top