Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for copyIfNecessary (0.13 sec)

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

         * @throws NullPointerException if {@code element} is null
         */
        @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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
Back to top