Class TimestampDedupIterator
java.lang.Object
org.archive.util.iterator.AbstractPeekableIterator<String>
org.archive.format.gzip.zipnum.TimestampDedupIterator
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterator<String>,CloseableIterator<String>,PeekableIterator<String>
- Direct Known Subclasses:
TimestampBestPickDedupIterator,TimestampCustomDedupIterator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CloseableIterator<String> protected booleanprotected Stringprotected Stringprotected int -
Constructor Summary
ConstructorsConstructorDescriptionTimestampDedupIterator(CloseableIterator<String> inner, int timestampDedupLength) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected StringextractMatchKey(String line) protected StringgetNthField(String source, int start, int num, int ch) protected booleanMethods inherited from class org.archive.util.iterator.AbstractPeekableIterator
getComparator, hasNext, next, peek, remove, wrap, wrapReaderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
timestampDedupLength
protected int timestampDedupLength -
inner
-
isFirst
protected boolean isFirst -
nextLine
-
nextStamp
-
-
Constructor Details
-
TimestampDedupIterator
-
-
Method Details
-
extractMatchKey
-
isSame
-
getNextInner
- Specified by:
getNextInnerin classAbstractPeekableIterator<String>
-
getNthField
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classAbstractPeekableIterator<String>- Throws:
IOException
-