support.queue
Interface Queue<E>

All Superinterfaces:
Iterable<E>, Queue<E>

public interface Queue<E>
extends Iterable<E>, Queue<E>


Method Summary
 MyQueueDataObject<E> getData()
           
 
Methods inherited from interface java.lang.Iterable
iterator
 
Methods inherited from interface net.datastructures.Queue
dequeue, enqueue, front, isEmpty, size
 

Method Detail

getData

MyQueueDataObject<E> getData()
                             throws ArrayIndexOutOfBoundsException
Returns:
MyQueueDataObject that will allow the visualizer access to private members, shattering encapsulation, but allowing visualization of the queue
Throws:
ArrayIndexOutOfBoundsException - if the firstIndex or lastIndex is greater or equal to the capacity of the array