|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuoc.ei.tads.RecorregutVectorImpl<E>
public class RecorregutVectorImpl<E>
Implementació de recorregut sobre un vector.
Constructor Summary | |
---|---|
RecorregutVectorImpl(Posicio<E>[] elements,
int nombreElements,
int primer)
|
Method Summary | |
---|---|
boolean |
hiHaSeguent()
Comprova si hi ha un primer o següent element. |
Posicio<E> |
seguent()
Accessor de lectura del primer o següent element de l'enumeració. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecorregutVectorImpl(Posicio<E>[] elements, int nombreElements, int primer)
Method Detail |
---|
public boolean hiHaSeguent()
Recorregut
hiHaSeguent
in interface Recorregut<E>
public Posicio<E> seguent() throws ExcepcioPosicioInvalida
Recorregut
seguent
in interface Recorregut<E>
ExcepcioPosicioInvalida
- si es vol obtenir el següent
element de l'enumeració i no n'hi ha cap o no n'hi ha cap
més
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |