Package org.apache.uima.caseditor.editor
Class FeatureStructureSelectionIterator
java.lang.Object
org.apache.uima.caseditor.editor.FeatureStructureSelectionIterator
- All Implemented Interfaces:
Iterator<FeatureStructure>
Iterates over all selected
FeatureStructure
s.-
Constructor Summary
ConstructorDescriptionFeatureStructureSelectionIterator
(org.eclipse.jface.viewers.IStructuredSelection selection) Initializes the current instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
hasNext()
Check if there is one more element.next()
Retrieves the next element.void
remove()
Not supported, it throws anUnsupportedOperationException
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
FeatureStructureSelectionIterator
public FeatureStructureSelectionIterator(org.eclipse.jface.viewers.IStructuredSelection selection) Initializes the current instance.- Parameters:
selection
- the selection
-
-
Method Details
-
hasNext
public boolean hasNext()Check if there is one more element.- Specified by:
hasNext
in interfaceIterator<FeatureStructure>
- Returns:
- true if there is one more element.
-
next
Retrieves the next element.- Specified by:
next
in interfaceIterator<FeatureStructure>
- Returns:
- the next element.
-
remove
public void remove()Not supported, it throws anUnsupportedOperationException
.- Specified by:
remove
in interfaceIterator<FeatureStructure>
- Throws:
UnsupportedOperationException
- -
-