public class TokenSampleStream extends Object implements Iterator<TokenSample>
Constructor and Description |
---|
TokenSampleStream(InputStream is) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
TokenSample |
next() |
void |
remove() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public TokenSampleStream(InputStream is) throws IOException
IOException
public boolean hasNext()
hasNext
in interface Iterator<TokenSample>
public TokenSample next()
next
in interface Iterator<TokenSample>
public void remove()
remove
in interface Iterator<TokenSample>
Copyright © 2020 The Apache Software Foundation. All rights reserved.