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 int
InitialAbstractList.modCount
value, for checks against concurrent modifications.private V
The property value to return, ornull
if 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, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
element
The property value to return, ornull
if we reached the iteration end. -
c
private final int cInitialAbstractList.modCount
value, 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()Returnstrue
if 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()
.
-