|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.bsvrz.vew.bmvew.bmvew.meldung.InformationsAnteilListe
public class InformationsAnteilListe
Die Klasse arbeitet als Stack mit begrenztem Fassungsvermögen. Wenn die maximale Anzahl erreicht ist, wird das älteste Element ueberschrieben.
Constructor Summary | |
---|---|
InformationsAnteilListe()
Konstruktor |
|
InformationsAnteilListe(int size)
Konstruktor |
Method Summary | |
---|---|
InformationsAnteil[] |
getAll()
Liest alle Elemente des Stack |
InformationsAnteil |
peek()
Liest das oberste Element des Stacks |
InformationsAnteil |
pop()
Holt ein Objekt vom Stack |
void |
push(InformationsAnteil n)
Legt ein Objekt auf den Stack |
int |
size()
Ermittelt die Anzahl der Elemente |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InformationsAnteilListe()
public InformationsAnteilListe(int size)
size
- Method Detail |
---|
public void push(InformationsAnteil n)
n
- Elementpublic InformationsAnteil pop()
public InformationsAnteil peek()
public InformationsAnteil[] getAll()
public int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |