Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for trySplit (0.19 sec)

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

                    "estimated size of trySplit result (%s) is larger than original size (%s)",
                    trySplit.estimateSize(), originalSize));
          }
        }
        if (subsized) {
          if (trySplit != null) {
            assertEquals(
                "sum of estimated sizes of trySplit and original spliterator after trySplit",
                originalSize,
                trySplit.estimateSize() + spliterator.estimateSize());
          } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CollectSpliterators.java

            delegate.forEachRemaining((IntConsumer) i -> action.accept(function.apply(i)));
          }
    
          @Override
          @CheckForNull
          public Spliterator<T> trySplit() {
            Spliterator.OfInt split = delegate.trySplit();
            return (split == null) ? null : new WithCharacteristics(split);
          }
    
          @Override
          public long estimateSize() {
            return delegate.estimateSize();
          }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 15:21:23 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

                .put(2, 2)
                .put(3, 3)
                .put(4, 4)
                .put(5, 5)
                .put(6, 6)
                .buildOrThrow();
        assertNotNull(map.keySet().spliterator().trySplit());
      }
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(
                ImmutableMap.of(),
                ImmutableMap.builder().buildOrThrow(),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
Back to top