Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for sortAndDedup (0.17 seconds)

  1. guava/src/com/google/common/collect/ImmutableSortedSet.java

         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> add(E element) {
          checkNotNull(element);
          copyIfNecessary();
          if (n == elements.length) {
            sortAndDedup();
            /*
             * sortAndDedup may have made enough room for this element, but that's not necessarily good
             * enough. Consider, for example, the case where we have a buffer of size (n+1), add n
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.1K bytes
    - Click Count (0)
Back to Top