Constructor and Description |
---|
WordReplacementIterator(Iterator<String> base,
Map<String,String> map) |
Modifier and Type | Method and Description |
---|---|
void |
advance()
Advances to the next word in the token stream.
|
boolean |
hasNext()
Returns
true if this iterator has additional tokens to return. |
String |
next()
Return the next token's replacement if such a replacement exists.
|
void |
remove()
Throws an
UnsupportedOperationException if called. |
public void advance()
public boolean hasNext()
true
if this iterator has additional tokens to return.public String next()
public void remove()
UnsupportedOperationException
if called.Copyright © 2012. All Rights Reserved.