PPT-Folie
public IntStack () // Konstruktor, leerer Keller
{ top_pt = 0 ; stack = new int [SIZE] ; }
public boolean is_empty ()
{ return top_pt == 0 ; }
public boolean is_full ()
{ return top_pt == SIZE ; }
Vorherige Folie
Nächste Folie
Zurück zur ersten Folie
Graphik-Version anzeigen