Class SpliteratorTester<E extends @Nullable Object>
java.lang.Object
com.google.common.collect.testing.SpliteratorTester<E>
Tester for
Spliterator
implementations.- Since:
- 21.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Return type from "contains the following elements" assertions. -
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends @Nullable Object>
SpliteratorTester<E> of
(Supplier<Spliterator<E>> spliteratorSupplier) static SpliteratorTester
<Double> ofDouble
(Supplier<Spliterator.OfDouble> spliteratorSupplier) static SpliteratorTester
<Integer> ofInt
(Supplier<Spliterator.OfInt> spliteratorSupplier) static SpliteratorTester
<Long> ofLong
(Supplier<Spliterator.OfLong> spliteratorSupplier)
-
Method Details
-
of
public static <E extends @Nullable Object> SpliteratorTester<E> of(Supplier<Spliterator<E>> spliteratorSupplier) -
ofInt
- Since:
- 28.1
-
ofLong
- Since:
- 28.1
-
ofDouble
public static SpliteratorTester<Double> ofDouble(Supplier<Spliterator.OfDouble> spliteratorSupplier) - Since:
- 28.1
-
expect
@SafeVarargs @CanIgnoreReturnValue public final SpliteratorTester.Ordered expect(Object... elements) -
expect
-