Package com.yahoo.prelude.querytransform
Class PhraseMatcher.Phrase.MatchIterator
- java.lang.Object
-
- com.yahoo.prelude.querytransform.PhraseMatcher.Phrase.MatchIterator
-
- All Implemented Interfaces:
java.util.Iterator<Item>
- Enclosing class:
- PhraseMatcher.Phrase
public static class PhraseMatcher.Phrase.MatchIterator extends java.lang.Object implements java.util.Iterator<Item>
-
-
Constructor Summary
Constructors Constructor Description MatchIterator(PhraseMatcher.Phrase phrase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getReplace()
Returns the value to replace the item last returned by next(), or null to keep it as-isboolean
hasNext()
Item
next()
void
remove()
-
-
-
Constructor Detail
-
MatchIterator
public MatchIterator(PhraseMatcher.Phrase phrase)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<Item>
-
getReplace
public java.lang.String getReplace()
Returns the value to replace the item last returned by next(), or null to keep it as-is
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<Item>
-
-