Package org.dmfs.jems2.iterable
Class Numbered<T>
An
Iterable decorator which pairs every value of another iterator with it's sequential ordinal number.
Example
Numbered(["a", "b", "c"]) -> [ (1, "a"), (2, "b"), (3, "c") ]
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.dmfs.jems2.iterable.DelegatingIterable
iteratorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Numbered
-
Numbered
-
Numbered
-