Package io.datarouter.scanner
Class ObjectScanner<T>
java.lang.Object
io.datarouter.scanner.ObjectScanner<T>
- All Implemented Interfaces:
Scanner<T>,Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.datarouter.scanner.Scanner
advanceUntil, advanceWhile, allMatch, anyMatch, append, append, append, apply, batch, close, collate, collate, collect, collect, concat, concatIter, count, deduplicateConsecutive, deduplicateConsecutiveBy, deduplicateConsecutiveBy, distinct, distinctBy, each, exclude, findFirst, findLast, findMax, findMin, flush, forEach, groupBy, groupBy, groupBy, groupBy, hasAny, include, isEmpty, iterable, iterator, limit, link, list, listTo, map, maxN, minN, noneMatch, 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, toMapSupplied
-
Constructor Details
-
ObjectScanner
-
-
Method Details
-
of
Description copied from interface:ScannerConvert an Object into a Scanner.- Parameters:
object- A non-null Object- Returns:
- A single-item Scanner with the Object
-
ofNullable
Description copied from interface:ScannerConvert an Object into a Scanner if non-null.- Parameters:
object- A nullable Object- Returns:
- An empty scanner if the Object was null, otherwise a single-item Scanner with the Object
-
advance
public boolean advance()Description copied from interface:ScannerTry to update current to the next item, if there is one. -
current
-