|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| 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 Sequences.
| Constructor Summary | |
|---|---|
SequenceEnumeration(Collection<Sequence> sequences)
This constructor creates an instance based on the user-specified Collection of Sequences sequences. |
|
SequenceEnumeration(Sequence... sequences)
This constructor creates an instance based on the user-specified Sequences 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)
Sequences sequences.
sequences - the user-specified Sequencespublic SequenceEnumeration(Collection<Sequence> sequences)
Collection of Sequences sequences.
sequences - the user-specified Collection of Sequences| Method Detail |
|---|
public void reset()
RecyclableSequenceEnumerator
reset in interface RecyclableSequenceEnumeratorpublic boolean hasMoreElements()
hasMoreElements in interface Enumeration<Sequence>public Sequence nextElement()
nextElement in interface Enumeration<Sequence>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||