A B C D E F G H I M N O Q R S

A

addPaneLabel(JPanel, String) - Method in class support.queue.QueueVisualizer
 

B

buildQueue() - Method in class support.queue.QueueVisualizer
Visualizes the queue by shattering encapsulation, using the dataobject to access your private array that stores all the information for your queue.
buildSnapshot(Object) - Method in class support.queue.QueueVisualizer
Visualizes the current elements in the snapshot iterator.

C

catchError(String, Exception) - Method in class support.queue.QueueVisualizer
Method used to display error messages that get caught while executing methods in the queue.
createBox(int, String, int, boolean) - Method in class support.queue.QueueVisualizer
Visualizes the elements for the queue or iterator.
createComponents() - Method in class support.queue.QueueVisualizer
Creates the components for visualizing the queue.
createIterator() - Method in class support.queue.QueueVisualizer
Creates the iterator panel with manipulation buttons.
createOptions() - Method in class support.queue.QueueVisualizer
Creates the queue manipulating buttons.
createQuit() - Method in class support.queue.QueueVisualizer
 
createWriter() - Method in class support.queue.QueueVisualizer
Creates the components for visualizing results of queue manipulations.

D

dequeue() - Method in class queue.MyQueue
Removes and returns the object at the front of the queue.
dequeue() - Method in class support.queue.QueueVisualizer
 
displayEvent() - Method in class support.queue.QueueVisualizer
 
displayResult() - Method in class support.queue.QueueVisualizer
 

E

elements() - Method in class support.queue.QueueVisualizer
 
enqueue(E) - Method in class queue.MyQueue
Inserts an element at the rear of the queue.
enqueue(Object) - Method in class support.queue.QueueVisualizer
Queue methods.

F

front() - Method in class queue.MyQueue
Returns, but does not remove, the object at the front of the queue.
front() - Method in class support.queue.QueueVisualizer
 

G

getArray() - Method in class support.queue.MyQueueDataObject
 
getData() - Method in class queue.MyQueue
 
getData() - Method in interface support.queue.Queue
 
getFirstIndex() - Method in class support.queue.MyQueueDataObject
 
getLastIndex() - Method in class support.queue.MyQueueDataObject
 
getNextLeft() - Method in class support.queue.QueueVisualizer
 

H

hasNext() - Method in class queue.MyQueueIterator
This method runs in O(1) time.
hasNext() - Method in class support.queue.QueueVisualizer
 

I

init() - Method in class support.queue.QueueVisualizer
 
isEmpty() - Method in class queue.MyQueue
Checks to see if the queue is empty.
isEmpty() - Method in class support.queue.QueueVisualizer
 
iterator() - Method in class queue.MyQueue
Returns an iterator over the contents of the queue.

M

main(String[]) - Static method in class support.queue.QueueVisualizer
 
MyQueue<E> - Class in queue
The MyQueue class is an growable, circular, array-based implementation of the Queue interface.
MyQueue() - Constructor for class queue.MyQueue
Set up and initialize the Queue.
MyQueueDataObject<E> - Class in support.queue
 
MyQueueDataObject(E[], int, int) - Constructor for class support.queue.MyQueueDataObject
 
MyQueueIterator<E> - Class in queue
The MyQueueIterator class is an iterator for the array-based MyQueue class.
MyQueueIterator() - Constructor for class queue.MyQueueIterator
Sets up and initializes the Iterator.

N

next() - Method in class queue.MyQueueIterator
Returns the next element to view in the snapshot of the queue.
nextObject() - Method in class support.queue.QueueVisualizer
 

O

object() - Method in class queue.MyQueueIterator
Returns the object that was returned by the last call to nextObject().
object() - Method in class support.queue.QueueVisualizer
 

Q

queue - package queue
 
Queue<E> - Interface in support.queue
 
QueueVisualizer - Class in support.queue
 
QueueVisualizer() - Constructor for class support.queue.QueueVisualizer
 

R

remove() - Method in class queue.MyQueueIterator
This is an optional operation from the java.util.Iterator interface.
reset() - Method in class queue.MyQueueIterator
Puts the iterator back in its initial state.
reset() - Method in class support.queue.QueueVisualizer
Iterator methods.

S

size() - Method in class queue.MyQueue
Finds out how many elements are currently stored in the queue.
size() - Method in class support.queue.QueueVisualizer
 
support.queue - package support.queue
 

A B C D E F G H I M N O Q R S