Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for hasCharacteristics (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java

        initCollectionWithNullElement();
        assertFalse(collection.spliterator().hasCharacteristics(Spliterator.NONNULL));
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testSpliteratorNotImmutable_collectionAllowsAdd() {
        // If add is supported, verify that IMMUTABLE is not reported.
        assertFalse(collection.spliterator().hasCharacteristics(Spliterator.IMMUTABLE));
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java

        initCollectionWithNullElement();
        assertFalse(collection.spliterator().hasCharacteristics(Spliterator.NONNULL));
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testSpliteratorNotImmutable_collectionAllowsAdd() {
        // If add is supported, verify that IMMUTABLE is not reported.
        assertFalse(collection.spliterator().hasCharacteristics(Spliterator.IMMUTABLE));
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/CollectSpliterators.java

                | Spliterator.SIZED
                | Spliterator.SUBSIZED
                | extraCharacteristics;
          }
    
          @Override
          public @Nullable Comparator<? super T> getComparator() {
            if (hasCharacteristics(Spliterator.SORTED)) {
              return comparator;
            } else {
              throw new IllegalStateException();
            }
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/CollectSpliterators.java

                | Spliterator.SIZED
                | Spliterator.SUBSIZED
                | extraCharacteristics;
          }
    
          @Override
          public @Nullable Comparator<? super T> getComparator() {
            if (hasCharacteristics(Spliterator.SORTED)) {
              return comparator;
            } else {
              throw new IllegalStateException();
            }
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Streams.java

        checkNotNull(stream);
        checkNotNull(function);
        boolean isParallel = stream.isParallel();
        Spliterator<T> fromSpliterator = stream.spliterator();
    
        if (!fromSpliterator.hasCharacteristics(Spliterator.SUBSIZED)) {
          Iterator<T> fromIterator = Spliterators.iterator(fromSpliterator);
          return StreamSupport.stream(
                  new AbstractSpliterator<R>(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.4K bytes
    - Click Count (0)
Back to Top