- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for RegularImmutableSortedSet (0.13 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 {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 39.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeMap.java
} @Override public ImmutableMap<Range<K>, V> asMapOfRanges() { if (ranges.isEmpty()) { return ImmutableMap.of(); } RegularImmutableSortedSet<Range<K>> rangeSet = new RegularImmutableSortedSet<>(ranges, Range.<K>rangeLexOrdering()); return new ImmutableSortedMap<>(rangeSet, values); } @Override public ImmutableMap<Range<K>, V> asDescendingMapOfRanges() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 14.4K 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 {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeSet.java
if (ranges.isEmpty()) { return ImmutableSet.of(); } return new RegularImmutableSortedSet<>(ranges, Range.<C>rangeLexOrdering()); } @Override public ImmutableSet<Range<C>> asDescendingSetOfRanges() { if (ranges.isEmpty()) { return ImmutableSet.of(); } return new RegularImmutableSortedSet<>(ranges.reverse(), Range.<C>rangeLexOrdering().reverse()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 27K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
} } private final transient RegularImmutableSortedSet<K> keySet; private final transient ImmutableList<V> valueList; @CheckForNull private transient ImmutableSortedMap<K, V> descendingMap; ImmutableSortedMap(RegularImmutableSortedSet<K> keySet, ImmutableList<V> valueList) { this(keySet, valueList, null); } ImmutableSortedMap( RegularImmutableSortedSet<K> keySet, ImmutableList<V> valueList,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 53K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
} } private final transient RegularImmutableSortedSet<K> keySet; private final transient ImmutableList<V> valueList; @CheckForNull private transient ImmutableSortedMap<K, V> descendingMap; ImmutableSortedMap(RegularImmutableSortedSet<K> keySet, ImmutableList<V> valueList) { this(keySet, valueList, null); } ImmutableSortedMap( RegularImmutableSortedSet<K> keySet, ImmutableList<V> valueList,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
* Tests that we workaround GWT bug #3621 (or that it is already fixed). * * A call to of() with a parameter that is not a plain Object[] (here, * Interface[]) creates a RegularImmutableSortedSet backed by an array of that * type. Later, RegularImmutableSortedSet.toArray() calls System.arraycopy() * to copy from that array to the destination array. This would be fine, but
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 46.7K bytes - Viewed (0)