- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newTreeSet (0.23 sec)
-
src/main/java/org/codelibs/core/collection/CollectionsUtil.java
* * @param <E> the element type of {@link TreeSet} * @return a new instance of {@link TreeSet} * @see TreeSet#TreeSet() */ public static <E> TreeSet<E> newTreeSet() { return new TreeSet<>(); } /** * Creates and returns a new instance of {@link TreeSet}. * * @param <E> the element type of {@link TreeSet}
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 49.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
"rawtypes", // https://github.com/google/guava/issues/989 "NonApiType", // acts as a direct substitute for a constructor call }) public static <E extends Comparable> TreeSet<E> newTreeSet(Iterable<? extends E> elements) { TreeSet<E> set = newTreeSet(); Iterables.addAll(set, elements); return set; } /** * Creates a <i>mutable</i>, empty {@code TreeSet} instance with the given comparator. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 81.6K bytes - Viewed (0)