Package org.apache.sis.metadata
Class ValueMap.Iter
java.lang.Object
org.apache.sis.metadata.ValueMap.Iter
- Enclosing class:
- ValueMap
The iterator over the
ValueMap.Property elements contained in an ValueMap.Entries set.- Since:
- 0.3
- Version:
- 0.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ValueMap.PropertyThe current and the next property, ornullif the iteration is over.private ValueMap.PropertyThe current and the next property, ornullif the iteration is over. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasNext()Returnstrueif the iteration has more elements.private voidmove(int index) Movesnextto the first property with a valid value, starting at the specified index.next()Returns the next element in the iteration.voidremove()Removes from the underlying collection the last element returned by the iterator.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
-
current
The current and the next property, ornullif the iteration is over. -
next
The current and the next property, ornullif the iteration is over.
-
-
Constructor Details
-
Iter
Iter()Creates en iterator.
-
-
Method Details
-
move
private void move(int index) Movesnextto the first property with a valid value, starting at the specified index. -
hasNext
public boolean hasNext()Returnstrueif the iteration has more elements. -
next
Returns the next element in the iteration. -
remove
public void remove()Removes from the underlying collection the last element returned by the iterator.
-