/guava/guava/src/com/google/common/collect/ImmutableSortedSet.java
if ( n + 1) {
if ( n == elements.length ) {
} @CanIgnoreReturnValue @Override public Builder<E> add(E element) { checkNotNull(element); copyIfNecessary(); <extra_id_0> sortAndDedup(); int newLength = ImmutableCollection.Builder.expandedCapacity(n, n + 1); if (newLength > elements.length) { elements = Arrays.copyOf(elements, newLength); } }