Package com.yahoo.prelude.hitfield
Class TokenFieldIterator
java.lang.Object
com.yahoo.prelude.hitfield.TokenFieldIterator
- All Implemented Interfaces:
Iterator<FieldPart>
,ListIterator<FieldPart>
A specialized list iterator to manipulate tokens in HitField objects.
- Author:
- Steinar Knutsen
-
Constructor Details
-
TokenFieldIterator
-
-
Method Details
-
add
- Specified by:
add
in interfaceListIterator<FieldPart>
-
hasNext
public boolean hasNext() -
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator<FieldPart>
-
next
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator<FieldPart>
-
previous
- Specified by:
previous
in interfaceListIterator<FieldPart>
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<FieldPart>
-
remove
public void remove() -
set
- Specified by:
set
in interfaceListIterator<FieldPart>
-