Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for tailSet (0.18 sec)

  1. guava/src/com/google/common/collect/ForwardingSortedSet.java

        return delegate().subSet(fromElement, toElement);
      }
    
      @Override
      public SortedSet<E> tailSet(@ParametricNullness E fromElement) {
        return delegate().tailSet(fromElement);
      }
    
      /**
       * A sensible definition of {@link #contains} in terms of the {@code first()} method of {@link
       * #tailSet}. If you override {@link #tailSet}, you may wish to override {@link #contains} to
       * forward to this implementation.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

      }
    
      @Override
      public NavigableSet<E> tailSet(@ParametricNullness E fromElement, boolean inclusive) {
        return delegate().tailSet(fromElement, inclusive);
      }
    
      /**
       * A sensible definition of {@link #tailSet(Object)} in terms of the {@link #tailSet(Object,
       * boolean)} method. If you override {@link #tailSet(Object, boolean)}, you may wish to override
       * {@link #tailSet(Object)} to forward to this implementation.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

        return subSet(fromElement, true, toElement, false);
      }
    
      @Override
      public SortedSet<E> tailSet(E fromElement) {
        return tailSet(fromElement, true);
      }
    
      @Override
      public NavigableSet<E> tailSet(E fromElement, boolean inclusive) {
        return new SafeTreeSet<>(delegate.tailSet(checkValid(fromElement), inclusive));
      }
    
      @Override
      public Object[] toArray() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertSame(this.<String>of(), set.headSet("e"));
      }
    
      public void testSingle_tailSet() {
        SortedSet<String> set = of("e");
        assertTrue(set.tailSet("c") instanceof ImmutableSortedSet);
        assertThat(set.tailSet("c")).contains("e");
        assertThat(set.tailSet("e")).contains("e");
        assertSame(this.<String>of(), set.tailSet("g"));
      }
    
      public void testSingle_subSet() {
        SortedSet<String> set = of("e");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ForwardingNavigableSet.java

      }
    
      @Override
      public NavigableSet<E> tailSet(@ParametricNullness E fromElement, boolean inclusive) {
        return delegate().tailSet(fromElement, inclusive);
      }
    
      /**
       * A sensible definition of {@link #tailSet(Object)} in terms of the {@link #tailSet(Object,
       * boolean)} method. If you override {@link #tailSet(Object, boolean)}, you may wish to override
       * {@link #tailSet(Object)} to forward to this implementation.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingSortedSet.java

        return delegate().subSet(fromElement, toElement);
      }
    
      @Override
      public SortedSet<E> tailSet(@ParametricNullness E fromElement) {
        return delegate().tailSet(fromElement);
      }
    
      /**
       * A sensible definition of {@link #contains} in terms of the {@code first()} method of {@link
       * #tailSet}. If you override {@link #tailSet}, you may wish to override {@link #contains} to
       * forward to this implementation.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        ImmutableSortedSet<Integer> asSet = RANGE_SET_ONE.asSet(DiscreteDomain.integers());
    
        for (int i = 0; i <= 20; i++) {
          assertEquals(asSet.tailSet(i, false), expectedSet.tailSet(i, false));
          assertEquals(asSet.tailSet(i, true), expectedSet.tailSet(i, true));
        }
      }
    
      public void testAsSetSubSet() {
        ImmutableSortedSet<Integer> expectedSet = ImmutableSortedSet.of(2, 3, 4, 8, 9, 16, 17);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * <p>The {@link SortedSet#tailSet} documentation states that a subset of a subset throws an
       * {@link IllegalArgumentException} if passed a {@code fromElement} smaller than an earlier {@code
       * fromElement}. However, this method doesn't throw an exception in that situation, but instead
       * keeps the original {@code fromElement}.
       */
      @Override
      public ImmutableSortedSet<E> tailSet(E fromElement) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

              sortedMap().subMap(fromElement, fromInclusive, toElement, toInclusive));
        }
    
        @Override
        public NavigableSet<K> tailSet(@ParametricNullness K fromElement) {
          return tailSet(fromElement, true);
        }
    
        @Override
        public NavigableSet<K> tailSet(@ParametricNullness K fromElement, boolean inclusive) {
          return new NavigableKeySet(sortedMap().tailMap(fromElement, inclusive));
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 46.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertSame(this.<String>of(), set.headSet("e"));
      }
    
      public void testSingle_tailSet() {
        SortedSet<String> set = of("e");
        assertTrue(set.tailSet("c") instanceof ImmutableSortedSet);
        assertThat(set.tailSet("c")).contains("e");
        assertThat(set.tailSet("e")).contains("e");
        assertSame(this.<String>of(), set.tailSet("g"));
      }
    
      public void testSingle_subSet() {
        SortedSet<String> set = of("e");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 45.2K bytes
    - Viewed (0)
Back to top