Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Chere (0.12 sec)

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

         * Builder} and its comparator.
         */
        @Override
        public ImmutableSortedSet<E> build() {
          @SuppressWarnings("unchecked") // we're careful to put only E's in here
          E[] contentsArray = (E[]) contents;
          ImmutableSortedSet<E> result = construct(comparator, size, contentsArray);
          this.size = result.size(); // we eliminated duplicates in-place in contentsArray
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSortedSet.java

          if (n == elements.length) {
            sortAndDedup();
            /*
             * Sorting operations can only be allowed to occur once every O(n) operations to keep
             * amortized O(n log n) performance.  Therefore, ensure there are at least O(n) *unused*
             * spaces in the builder array.
             */
            int newLength = ImmutableCollection.Builder.expandedCapacity(n, n + 1);
            if (newLength > elements.length) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
Back to top