- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ForwardingSortedSet (0.32 sec)
-
guava/src/com/google/common/collect/ForwardingSortedSet.java
* @author Louis Wasserman * @since 2.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class ForwardingSortedSet<E extends @Nullable Object> extends ForwardingSet<E> implements SortedSet<E> { /** Constructor for use by subclasses. */ protected ForwardingSortedSet() {} @Override protected abstract SortedSet<E> delegate(); @Override @CheckForNull
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 5.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java
import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@code ForwardingSortedSet}. * * @author Louis Wasserman */ public class ForwardingSortedSetTest extends TestCase { static class StandardImplForwardingSortedSet<T> extends ForwardingSortedSet<T> { private final SortedSet<T> backingSortedSet; StandardImplForwardingSortedSet(SortedSet<T> backingSortedSet) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java
import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@code ForwardingSortedSet}. * * @author Louis Wasserman */ public class ForwardingSortedSetTest extends TestCase { static class StandardImplForwardingSortedSet<T> extends ForwardingSortedSet<T> { private final SortedSet<T> backingSortedSet; StandardImplForwardingSortedSet(SortedSet<T> backingSortedSet) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsFilterSortedSetTest.java
@Override SortedSet<Integer> createUnfiltered(Iterable<Integer> contents) { final TreeSet<Integer> result = Sets.newTreeSet(contents); // we have to make the result not Navigable return new ForwardingSortedSet<Integer>() { @Override protected SortedSet<Integer> delegate() { return result; } }; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 16 21:55:55 UTC 2022 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingNavigableSet.java
* * @author Louis Wasserman * @since 12.0 */ @GwtIncompatible @ElementTypesAreNonnullByDefault public abstract class ForwardingNavigableSet<E extends @Nullable Object> extends ForwardingSortedSet<E> implements NavigableSet<E> { /** Constructor for use by subclasses. */ protected ForwardingNavigableSet() {} @Override protected abstract NavigableSet<E> delegate(); @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
return set; } return new UnmodifiableNavigableSet<>(set); } static final class UnmodifiableNavigableSet<E extends @Nullable Object> extends ForwardingSortedSet<E> implements NavigableSet<E>, Serializable { private final NavigableSet<E> delegate; private final SortedSet<E> unmodifiableDelegate; UnmodifiableNavigableSet(NavigableSet<E> delegate) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 78.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
throw new UnsupportedOperationException(); } }; } private static <E extends @Nullable Object> SortedSet<E> removeOnlySortedSet( final SortedSet<E> set) { return new ForwardingSortedSet<E>() { @Override protected SortedSet<E> delegate() { return set; } @Override public boolean add(@ParametricNullness E element) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 161.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
throw new UnsupportedOperationException(); } }; } private static <E extends @Nullable Object> SortedSet<E> removeOnlySortedSet( final SortedSet<E> set) { return new ForwardingSortedSet<E>() { @Override protected SortedSet<E> delegate() { return set; } @Override public boolean add(@ParametricNullness E element) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 167.4K bytes - Viewed (0)