Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for sortedCopy (0.24 sec)

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

              return multiset;
            }
          }
        }
        elements = Lists.newArrayList(elements); // defensive copy
        TreeMultiset<E> sortedCopy = TreeMultiset.create(checkNotNull(comparator));
        Iterables.addAll(sortedCopy, elements);
        return copyOfSortedEntries(comparator, sortedCopy.entrySet());
      }
    
      /**
       * Returns an immutable sorted multiset containing the elements of a sorted multiset, sorted by
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Ordering.java

       * Note especially that {@link #sortedCopy} and {@link #immutableSortedCopy} are stable, and in
       * the returned instance these are implemented by simply copying the source list.
       *
       * <p>Example:
       *
       * <pre>{@code
       * Ordering.allEqual().nullsLast().sortedCopy(
       *     asList(t, null, e, s, null, t, null))
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
Back to top