Class VerweisKeller

java.lang.Object
  extended by VerweisKeller
All Implemented Interfaces:
Keller
Direct Known Subclasses:
VerweisCharKeller

public class VerweisKeller
extends java.lang.Object
implements Keller

Implementation eines Kellers mithilfe von Verweisen


Field Summary
private  Eintrag top
           
 
Constructor Summary
VerweisKeller()
           
 
Method Summary
 boolean empty()
           
 void pop()
           
 void push(java.lang.Object x)
           
 java.lang.Object top()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

top

private Eintrag top
Constructor Detail

VerweisKeller

public VerweisKeller()
Method Detail

empty

public boolean empty()
Specified by:
empty in interface Keller

push

public void push(java.lang.Object x)
Specified by:
push in interface Keller

top

public java.lang.Object top()
Specified by:
top in interface Keller

pop

public void pop()
Specified by:
pop in interface Keller