- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 50 for ImmutableSortedSet (0.08 seconds)
-
android/guava-tests/test/com/google/common/collect/FauxveridesTest.java
assertThrows(ClassCastException.class, () -> ImmutableSortedSet.copyOf(original)); } public void testImmutableSortedSetCopyOfIterator() { // false positive: `new Object()` is not equal to `new Object()` @SuppressWarnings("DistinctVarargsChecker") Set<Object> original = ImmutableSet.of(new Object(), new Object()); assertThrows(ClassCastException.class, () -> ImmutableSortedSet.copyOf(original.iterator())); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 9.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
assertThrows(ClassCastException.class, () -> ImmutableSortedSet.copyOf(original)); } public void testImmutableSortedSetCopyOfIterator() { // false positive: `new Object()` is not equal to `new Object()` @SuppressWarnings("DistinctVarargsChecker") Set<Object> original = ImmutableSet.of(new Object(), new Object()); assertThrows(ClassCastException.class, () -> ImmutableSortedSet.copyOf(original.iterator())); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 9.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableSortedSet.java
} else { return ~index; } } @Override ImmutableSortedSet<E> subSetImpl( E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) { return tailSetImpl(fromElement, fromInclusive).headSetImpl(toElement, toInclusive); } @Override ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ContiguousSetTest.java
ContiguousSet.create(Range.open(0, 4), NOT_EQUAL_TO_INTEGERS), ImmutableSortedSet.of(1, 2, 3)) .addEqualityGroup( ContiguousSet.create(Range.closedOpen(1, 1), integers()), ContiguousSet.closedOpen(1, 1), ContiguousSet.closedOpen(Integer.MIN_VALUE, Integer.MIN_VALUE), ImmutableSortedSet.of(), ImmutableSet.of()) .testEquals();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 19.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
} }; } ImmutableSortedSet<C> subSet(Range<C> range) { return subRangeSet(range).asSet(domain); } @Override ImmutableSortedSet<C> headSetImpl(C toElement, boolean inclusive) { return subSet(Range.upTo(toElement, BoundType.forBoolean(inclusive))); } @Override ImmutableSortedSet<C> subSetImpl(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 27.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
// path, so we test that separately assertTrue(range.containsAll(ImmutableSortedSet.of(3, 3, 4, 5))); assertTrue(range.containsAll(ImmutableSortedSet.of(3))); assertTrue(range.containsAll(ImmutableSortedSet.<Integer>of())); assertFalse(range.containsAll(ImmutableSortedSet.of(3, 3, 4, 5, 6))); assertTrue(Range.openClosed(3, 3).containsAll(Collections.<Integer>emptySet())); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java
return wrap(delegate); } }); } public void testEquals() { SortedSet<String> set1 = ImmutableSortedSet.of("one"); SortedSet<String> set2 = ImmutableSortedSet.of("two"); new EqualsTester() .addEqualityGroup(set1, wrap(set1), wrap(set1)) .addEqualityGroup(set2, wrap(set2)) .testEquals(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java
private final transient long[] cumulativeCounts; private final transient int offset; private final transient int length; RegularImmutableSortedMultiset(Comparator<? super E> comparator) { this.elementSet = ImmutableSortedSet.emptySet(comparator); this.cumulativeCounts = zeroCumulativeCounts; this.offset = 0; this.length = 0; } RegularImmutableSortedMultiset(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java
return wrap(delegate); } }); } public void testEquals() { NavigableSet<String> set1 = ImmutableSortedSet.of("one"); NavigableSet<String> set2 = ImmutableSortedSet.of("two"); new EqualsTester() .addEqualityGroup(set1, wrap(set1), wrap(set1)) .addEqualityGroup(set2, wrap(set2)) .testEquals(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ContiguousSet.java
* * @author Gregory Kick * @since 10.0 */ @GwtCompatible @SuppressWarnings("rawtypes") // allow ungenerified Comparable types public abstract class ContiguousSet<C extends Comparable> extends ImmutableSortedSet<C> { /** * Returns a {@code ContiguousSet} containing the same values in the given domain {@linkplain * Range#contains contained} by the range. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.9K bytes - Click Count (0)