Package org.wmn4j.notation.access
Class PositionalEnumerator
java.lang.Object
org.wmn4j.notation.access.PositionalEnumerator
- All Implemented Interfaces:
Iterable<Positional>
Represents an enumeration of durational elements, pairing durational elements with their
positions.
-
Constructor Summary
ConstructorsConstructorDescriptionPositionalEnumerator
(PositionIterator iterator) Creates a new enumerator from the given iterator. -
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.lang.Iterable
forEach, spliterator
-
Constructor Details
-
PositionalEnumerator
Creates a new enumerator from the given iterator.- Parameters:
iterator
- the iterator from which the enumerator is created
-
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceIterable<Positional>
-