|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.jstacs.data.SequenceEnumeration
public class SequenceEnumeration
This class implements a RecyclableSequenceEnumerator
on user-specified Sequence
s.
Constructor Summary | |
---|---|
SequenceEnumeration(Collection<Sequence> sequences)
This constructor creates an instance based on the user-specified Collection of Sequence s sequences . |
|
SequenceEnumeration(Sequence... sequences)
This constructor creates an instance based on the user-specified Sequence s sequences . |
Method Summary | |
---|---|
boolean |
hasMoreElements()
|
Sequence |
nextElement()
|
void |
reset()
This method enables the user to reuse this enumerator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SequenceEnumeration(Sequence... sequences)
Sequence
s sequences
.
sequences
- the user-specified Sequence
spublic SequenceEnumeration(Collection<Sequence> sequences)
Collection
of Sequence
s sequences
.
sequences
- the user-specified Collection
of Sequence
sMethod Detail |
---|
public void reset()
RecyclableSequenceEnumerator
reset
in interface RecyclableSequenceEnumerator
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration<Sequence>
public Sequence nextElement()
nextElement
in interface Enumeration<Sequence>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |