- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for RegularImmutableSortedSet (5.92 sec)
-
guava/src/com/google/common/collect/ImmutableSortedSet.java
} static <E> RegularImmutableSortedSet<E> emptySet(Comparator<? super E> comparator) { if (Ordering.natural().equals(comparator)) { @SuppressWarnings("unchecked") // The natural-ordered empty set supports all types. RegularImmutableSortedSet<E> result = (RegularImmutableSortedSet<E>) RegularImmutableSortedSet.NATURAL_EMPTY_SET; return result; } else {
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) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
} static <E> RegularImmutableSortedSet<E> emptySet(Comparator<? super E> comparator) { if (Ordering.natural().equals(comparator)) { @SuppressWarnings("unchecked") // The natural-ordered empty set supports all types. RegularImmutableSortedSet<E> result = (RegularImmutableSortedSet<E>) RegularImmutableSortedSet.NATURAL_EMPTY_SET; return result; } else {
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) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
new RegularImmutableSortedSet<Object>( new TreeSet<Object>((Comparator<Object>) NATURAL_ORDER), false); static <E> ImmutableSortedSet<E> emptySet(Comparator<? super E> comparator) { checkNotNull(comparator); if (NATURAL_ORDER.equals(comparator)) { return of(); } else { return new RegularImmutableSortedSet<E>(new TreeSet<E>(comparator), false); } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 15.3K bytes - Viewed (0)