forked from IF-LK-2020/queue-stack
enqueue and dequeue implemented
This commit is contained in:
15
Stack.ctxt
Normal file
15
Stack.ctxt
Normal file
@@ -0,0 +1,15 @@
|
||||
#BlueJ class context
|
||||
comment0.target=Stack
|
||||
comment1.params=
|
||||
comment1.target=Stack()
|
||||
comment2.params=pContentObject
|
||||
comment2.target=void\ push(java.lang.Object)
|
||||
comment3.params=
|
||||
comment3.target=void\ pop()
|
||||
comment4.params=
|
||||
comment4.target=java.lang.Object\ top()
|
||||
comment4.text=\r\n\ Liefert\ das\ Inhaltsobjekt\ vom\ obersten\ Knoten\ des\ Stapels\r\n\ vom\ Typ\ ContentType,\ falls\ die\ Schlange\ nicht\ leer\ ist,\r\n\ ansonsten\ null.\r\n\r\n\ @return\ Das\ Inhaltsobjekt\ oder\ null.\r\n
|
||||
comment5.params=
|
||||
comment5.target=boolean\ isEmpty()
|
||||
comment5.text=\r\n\ Pr\u00FCft,\ ob\ der\ Stapel\ leer\ ist.\r\n\r\n\ @return\ true,\ wenn\ der\ Stapel\ keine\ Knoten\ enthaelt\r\n
|
||||
numComments=6
|
||||
Reference in New Issue
Block a user