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.Property
The current and the next property, ornull
if the iteration is over.private ValueMap.Property
The current and the next property, ornull
if the iteration is over. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
hasNext()
Returnstrue
if the iteration has more elements.private void
move
(int index) Movesnext
to the first property with a valid value, starting at the specified index.next()
Returns the next element in the iteration.void
remove()
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, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
current
The current and the next property, ornull
if the iteration is over. -
next
The current and the next property, ornull
if the iteration is over.
-
-
Constructor Details
-
Iter
Iter()Creates en iterator.
-
-
Method Details
-
move
private void move(int index) Movesnext
to the first property with a valid value, starting at the specified index. -
hasNext
public boolean hasNext()Returnstrue
if 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.
-