Class SpliteratorTester<E extends @Nullable Object>
java.lang.Object
com.google.common.collect.testing.SpliteratorTester<E>
-
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:
- 33.4.0 (but since 28.1 in the JRE flavor)
-
ofLong
- Since:
- 33.4.0 (but since 28.1 in the JRE flavor)
-
ofDouble
public static SpliteratorTester<Double> ofDouble(Supplier<Spliterator.OfDouble> spliteratorSupplier) - Since:
- 33.4.0 (but since 28.1 in the JRE flavor)
-
expect
@SafeVarargs @CanIgnoreReturnValue public final SpliteratorTester.Ordered expect(Object... elements) -
expect
-