Class SpliteratorTester<E>
java.lang.Object
com.google.common.collect.testing.SpliteratorTester<E>
Tester for
Spliterator implementations.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceReturn type from "contains the following elements" assertions. -
Method Summary
Modifier and TypeMethodDescriptionstatic <E> 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
-
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
-