|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.egothor.core.Iter2Seq<T>
public class Iter2Seq<T>
The Iter2Seq class exists to wrap an Iterator inside a Sequence.
Constructor Summary | |
---|---|
Iter2Seq(java.util.Iterator<T> i)
Constructor for the Iter2Seq object. |
Method Summary | |
---|---|
T |
next()
Return the next element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Iter2Seq(java.util.Iterator<T> i)
i
- the Iterator inside this objectMethod Detail |
---|
public T next()
next
in interface Sequence<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |