|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectreset.StackIterator
Cette classe est la classe qui gere l'iterateur de pile
Field Summary | |
private java.util.Iterator |
iter
|
Constructor Summary | |
StackIterator(Stack p)
Conctructeur de l'iterateur de pile |
Method Summary | |
boolean |
hasNext()
Verification de l'existance d'un element suivant |
java.lang.Object |
next()
Retourne l'element suivant |
void |
remove()
Elimination de l'element |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.Iterator iter
Constructor Detail |
public StackIterator(Stack p)
p
- Method Detail |
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |