- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for ImmutableSortedSet (0.15 sec)
-
guava/src/com/google/common/collect/ImmutableSortedAsList.java
} @Override ImmutableSortedSet<E> delegateCollection() { return (ImmutableSortedSet<E>) super.delegateCollection(); } @Override public Comparator<? super E> comparator() { return delegateCollection().comparator(); } // Override indexOf() and lastIndexOf() to be O(log N) instead of O(N). @GwtIncompatible // ImmutableSortedSet.indexOf
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DescendingImmutableSortedSet.java
/** * Skeletal implementation of {@link ImmutableSortedSet#descendingSet()}. * * @author Louis Wasserman */ @GwtIncompatible @ElementTypesAreNonnullByDefault final class DescendingImmutableSortedSet<E> extends ImmutableSortedSet<E> { private final ImmutableSortedSet<E> forward; DescendingImmutableSortedSet(ImmutableSortedSet<E> forward) { super(Ordering.from(forward.comparator()).reverse());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/DescendingImmutableSortedSet.java
/** * Skeletal implementation of {@link ImmutableSortedSet#descendingSet()}. * * @author Louis Wasserman */ @GwtIncompatible @ElementTypesAreNonnullByDefault final class DescendingImmutableSortedSet<E> extends ImmutableSortedSet<E> { private final ImmutableSortedSet<E> forward; DescendingImmutableSortedSet(ImmutableSortedSet<E> forward) { super(Ordering.from(forward.comparator()).reverse());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FauxveridesTest.java
assertThrows(ClassCastException.class, () -> ImmutableSortedSet.copyOf(original)); } public void testImmutableSortedSetCopyOfIterator() { Set<Object> original = ImmutableSet.of(new Object(), new Object()); assertThrows(ClassCastException.class, () -> ImmutableSortedSet.copyOf(original.iterator())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
assertThrows(ClassCastException.class, () -> ImmutableSortedSet.copyOf(original)); } public void testImmutableSortedSetCopyOfIterator() { Set<Object> original = ImmutableSet.of(new Object(), new Object()); assertThrows(ClassCastException.class, () -> ImmutableSortedSet.copyOf(original.iterator())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.2K bytes - Viewed (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) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 9.2K bytes - Viewed (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 = ZERO_CUMULATIVE_COUNTS; this.offset = 0; this.length = 0; } RegularImmutableSortedMultiset(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 4.3K bytes - Viewed (0) -
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(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 5K bytes - Viewed (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(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 5K bytes - Viewed (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(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.9K bytes - Viewed (0)