Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for substr (0.14 sec)

  1. guava-tests/test/com/google/common/collect/SetsTest.java

        assertEquals(ImmutableSortedSet.of(4, 6, 8, 10), Sets.subSet(set, Range.atLeast(4)));
        assertEquals(ImmutableSortedSet.of(8, 10), Sets.subSet(set, Range.atLeast(7)));
        assertEquals(empty, Sets.subSet(set, Range.atLeast(20)));
    
        assertEquals(set, Sets.subSet(set, Range.greaterThan(0)));
        assertEquals(ImmutableSortedSet.of(6, 8, 10), Sets.subSet(set, Range.greaterThan(4)));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      }
    
      @Override
      public NavigableSet<E> subSet(
          E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
        return new SafeTreeSet<>(
            delegate.subSet(
                checkValid(fromElement), fromInclusive, checkValid(toElement), toInclusive));
      }
    
      @Override
      public SortedSet<E> subSet(E fromElement, E toElement) {
        return subSet(fromElement, true, toElement, false);
      }
    
    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)
  3. guava/src/com/google/common/collect/ForwardingSortedSet.java

      }
    
      @Override
      @ParametricNullness
      public E last() {
        return delegate().last();
      }
    
      @Override
      public SortedSet<E> subSet(@ParametricNullness E fromElement, @ParametricNullness E toElement) {
        return delegate().subSet(fromElement, toElement);
      }
    
      @Override
      public SortedSet<E> tailSet(@ParametricNullness E fromElement) {
        return delegate().tailSet(fromElement);
      }
    
    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)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java

        assertTrue(
            "containsAll(empty) should return true", collection.containsAll(MinimalCollection.of()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testContainsAll_subset() {
        assertTrue(
            "containsAll(subset) should return true",
            collection.containsAll(MinimalCollection.of(e0())));
      }
    
      public void testContainsAll_sameElements() {
        assertTrue(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      /**
       * {@inheritDoc}
       *
       * <p>This method returns a serializable {@code ImmutableSortedSet}.
       *
       * <p>The {@link SortedSet#subSet} 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
    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)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      public void testRetainAll_supersetUnsupported() {
        expectReturnsFalseOrThrows(superset);
        expectUnchanged();
      }
    
      // retainAll(subset)
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testRetainAll_subset() {
        expectReturnsTrue(nonEmptyProperSubset);
        expectContents(nonEmptyProperSubset.toRetain);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * have started execution. This applies also to tasks given to {@code invokeAll} or {@code
       * invokeAny} which are pending serial execution, even the subset of the tasks that have not yet
       * started execution. It is unclear from the {@code ExecutorService} specification if these should
       * be included, and it's much easier to implement the interpretation that they not be. Finally, a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 26 22:04:00 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/CommonPattern.java

     * the License.
     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * The subset of the {@link java.util.regex.Pattern} API which is used by this package, and also
     * shared with the {@code re2j} library. For internal use only. Please refer to the {@code Pattern}
     * javadoc for details.
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Apr 09 00:52:54 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSortedSet.java

     *
     * @author Hayward Chan
     */
    @ElementTypesAreNonnullByDefault
    final class RegularImmutableSortedSet<E> extends ImmutableSortedSet<E> {
    
      /** true if this set is a subset of another immutable sorted set. */
      final boolean isSubset;
    
      private @Nullable Comparator<E> unusedComparatorForSerialization;
      private @Nullable E unusedElementForSerialization;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/CommonPattern.java

     * the License.
     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * The subset of the {@link java.util.regex.Pattern} API which is used by this package, and also
     * shared with the {@code re2j} library. For internal use only. Please refer to the {@code Pattern}
     * javadoc for details.
     */
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:52:54 GMT 2021
    - 1.4K bytes
    - Viewed (0)
Back to top