- peek() - Method in class PriorityQueue
-
Returns the smallest item in the priority queue.
- peek() - Method in class Queue
-
Returns the item at front of the Queue without removing it.
- peek() - Method in interface QueueADT
-
Returns the item at front of the Queue without removing it.
- percolateDown(int) - Method in class PriorityQueue
-
Internal method to percolate down in the heap.
- priority - Variable in class PriorityQueueItem
-
- PriorityQueue<E> - Class in <Unnamed>
-
PriorityQueue implemented as a Binary Heap backed by an array.
- PriorityQueue() - Constructor for class PriorityQueue
-
Construct an empty PriorityQueue.
- PriorityQueue(PriorityQueue<E>) - Constructor for class PriorityQueue
-
Copy constructor
- priorityQueue - Variable in class PriorityQueueIterator
-
- PriorityQueueItem<E> - Class in <Unnamed>
-
Class to represent object stored at every entry in the PriorityQueue.
- PriorityQueueItem(int) - Constructor for class PriorityQueueItem
-
- PriorityQueueIterator<T> - Class in <Unnamed>
-
- PriorityQueueIterator(PriorityQueue<T>) - Constructor for class PriorityQueueIterator
-
Constructs a PriorityQueueIterator by utilizing a copy of the
PriorityQueue.
- processRegistrationList() - Method in class Course
-
Populates the courseRoster from the registration list.