Package io.datarouter.scanner
Class BaseScanner<T>
java.lang.Object
io.datarouter.scanner.BaseScanner<T>
- All Implemented Interfaces:
Scanner<T>,Closeable,AutoCloseable
- Direct Known Subclasses:
BaseLinkedScanner,CollatingScanner,EmptyScanner,GeneratingScanner,IteratingScanner,IteratorScanner,PagingScanner,ParallelMappingScanner
public abstract class BaseScanner<T> extends Object implements Scanner<T>
Simple Scanners can extend this to avoid declaring the "current" field and "getCurrent" method
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BaseScanner() -
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
advance, advanceUntil, advanceWhile, allMatch, anyMatch, append, append, append, apply, batch, close, collate, collate, collect, collect, concat, concatIter, count, deduplicate, deduplicateBy, distinct, distinctBy, each, exclude, findAny, findFirst, findLast, flush, forEach, groupBy, groupBy, groupBy, groupBy, hasAny, include, isEmpty, iterable, iterator, limit, link, list, listTo, map, max, min, noneMatch, parallel, prefetch, reduce, reduce, retain, sample, shuffle, skip, sorted, sorted, splitBy, stream, streamDoubles, streamInts, streamLongs, take, then, toArray, toMap, toMap, toMap, toMap, toMapSupplied, toMapSupplied, toMapSupplied, toMapSupplied