public class InformationsAnteilListe
extends java.lang.Object
Constructor and Description |
---|
InformationsAnteilListe()
Konstruktor
|
InformationsAnteilListe(int size)
Konstruktor
|
Modifier and Type | Method and Description |
---|---|
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
|
public InformationsAnteilListe()
public InformationsAnteilListe(int size)
size
- Sizepublic void push(InformationsAnteil n)
n
- Elementpublic InformationsAnteil pop()
public InformationsAnteil peek()
public InformationsAnteil[] getAll()
public int size()