org.archive.wayback.resourceindex.ziplines
Class StringPrefixIterator
java.lang.Object
org.archive.wayback.resourceindex.ziplines.StringPrefixIterator
- All Implemented Interfaces:
- Closeable, Iterator<String>, CloseableIterator<String>
- Direct Known Subclasses:
- SkippingStringPrefixIterator
public class StringPrefixIterator
- extends Object
- implements CloseableIterator<String>
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringPrefixIterator
public StringPrefixIterator(Iterator<String> inner,
String prefix)
getTotalMatches
public long getTotalMatches()
isTruncated
public boolean isTruncated()
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<String>
next
public String next()
- Specified by:
next in interface Iterator<String>
remove
public void remove()
- Specified by:
remove in interface Iterator<String>
close
public void close()
throws IOException
- Specified by:
close in interface Closeable
- Throws:
IOException
Copyright © 2005-2011 Internet Archive. All Rights Reserved.