Package edu.wustl.cse231s.v5.impl
Class SpliteratorUtils
java.lang.Object
edu.wustl.cse231s.v5.impl.SpliteratorUtils
- Author:
- Dennis Cosgrove (http://www.cse.wustl.edu/~cosgroved/)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> voidforEachRemaining(Spliterator<T> spliterator, CheckedConsumer<T> body)
-
Constructor Details
-
SpliteratorUtils
public SpliteratorUtils()
-
-
Method Details
-
forEachRemaining
public static <T> void forEachRemaining(Spliterator<T> spliterator, CheckedConsumer<T> body) throws InterruptedException, ExecutionException
-