Package org.apache.sis.feature
Class PropertySingleton.Iter
java.lang.Object
org.apache.sis.feature.PropertySingleton.Iter
- All Implemented Interfaces:
Iterator<V>
- Enclosing class:
- PropertySingleton<V>
Implementation of the iterator returned by
PropertySingleton.iterator().-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intInitialAbstractList.modCountvalue, for checks against concurrent modifications.private VThe property value to return, ornullif we reached the iteration end. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
element
The property value to return, ornullif we reached the iteration end. -
c
private final int cInitialAbstractList.modCountvalue, for checks against concurrent modifications.
-
-
Constructor Details
-
Iter
Iter(V element, int c) Creates a new iterator which will return the given attribute.
-
-
Method Details
-
hasNext
public boolean hasNext()Returnstrueif the singleton attribute has not yet been returned. -
next
Returns the singleton value, if present. -
remove
public void remove()Removes the value returned by the last call tonext().
-