Package ch.hslu.exercises.sw02.ex4
Class ArrayCharQueue
java.lang.Object
ch.hslu.exercises.sw02.ex4.ArrayCharQueue
- All Implemented Interfaces:
CharQueue
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ArrayCharQueue
public ArrayCharQueue()
-
-
Method Details
-
offer
public void offer(char element) Description copied from interface:CharQueue
Add a char to the head of the queue. -
poll
public char poll()Description copied from interface:CharQueue
Get a char from the head of the queue. -
size
public int size()Description copied from interface:CharQueue
Get the current size of the queue. -
toString
-