enqueue() & dequeue hinzugefügt

This commit is contained in:
2020-09-10 10:09:11 +02:00
parent 74bc7fce51
commit 4d5e3b1856
16 changed files with 1509 additions and 2 deletions

15
Queue.ctxt Normal file
View File

@@ -0,0 +1,15 @@
#BlueJ class context
comment0.target=Queue
comment1.params=
comment1.target=Queue()
comment2.params=pContentObject
comment2.target=void\ enqueue(java.lang.Object)
comment3.params=
comment3.target=void\ dequeue()
comment4.params=
comment4.target=java.lang.Object\ front()
comment4.text=\r\n\ Liefert\ das\ Inhaltsobjekt\ vom\ ersten\ Knotens\ der\ Schlange\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\ die\ Schlange\ leer\ ist.\r\n\r\n\ @return\ true,\ wenn\ die\ Schlange\ keine\ Knoten\ enthaelt\r\n
numComments=6