public class StreamScanner<T> extends IteratorScanner<T>
current| Constructor and Description |
|---|
StreamScanner(Stream<T> stream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Override to cleanup any resources.
|
static <T> Scanner<T> |
of(Stream<T> stream)
Convert an Object into a Scanner.
|
advance, ofcurrentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadvanceUntil, advanceWhile, allMatch, anyMatch, append, append, append, apply, batch, collate, collate, collect, collect, concat, concat, concat, concatIter, count, deduplicateConsecutive, deduplicateConsecutiveBy, distinct, distinctBy, each, empty, exclude, findFirst, findLast, findMax, findMin, flush, forEach, generate, groupBy, groupBy, groupBy, groupBy, hasAny, include, isEmpty, iterable, iterate, iterator, limit, link, list, listTo, map, maxN, minN, noneMatch, ofNullable, parallel, prefetch, reduce, reduce, retain, reverse, sample, shuffle, skip, sort, sort, splitBy, stream, streamDoubles, streamInts, streamLongs, take, then, toArray, toMap, toMap, toMap, toMap, toMap, toMapSupplied, toMapSupplied, toMapSupplied, toMapSuppliedpublic static <T> Scanner<T> of(Stream<T> stream)
Scannerstream - A non-null Objectpublic void close()
ScannerCopyright © 2009–2021. All rights reserved.