public class TokenSampleStream extends Object implements Iterator<TokenSample>
Constructor and Description |
---|
TokenSampleStream(InputStream is) |
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>
public static void main(String[] args) throws IOException
IOException
Copyright © 2015 The Apache Software Foundation. All rights reserved.