Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ForwardingSortedSet (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top