Skip navigation links

CSU CS165

A C E F I K L M N O P Q R S T W 

A

actionsByPosition - Static variable in class Plan
 
add(E) - Method in class AQueue
 
add(E) - Method in interface IQueue
Inserts the specified element into this queue, returning true upon success.
added - Variable in class ArrayQueue
the total elements added (set back to zero if clear is called)
addScriptRun(long, int, List<List<Object>>, Map<String, Object>) - Static method in class Script
 
AQueue<E> - Class in <Unnamed>
AQueue provides default implementations for several no-brainer methods in the IQueue interface.
AQueue() - Constructor for class AQueue
 
around(double, double) - Static method in class Plan
 
ArrayQueue<E> - Class in <Unnamed>
ArrayQueue is a FIFO (First In First Out) data structure that stores its elements in an array (or something like it, like an ArrayList).
ArrayQueue(int) - Constructor for class ArrayQueue
Creates a new queue backed by an array of length maxSize.

C

catchExceptionsToString(Supplier<Object>) - Static method in class Eval
 
clamp(double, double, double) - Static method in class Plan
 
clear() - Method in class ArrayQueue
Clears the queue.
clear() - Method in interface IQueue
Removes all of the elements from this queue.
clear() - Method in class LinkedQueue
Clears the queue.
contains(Object) - Method in class ArrayQueue
 
contains(Object) - Method in interface IQueue
Returns true if this queue contains the specified element.
contains(Object) - Method in class LinkedQueue
 
cumulativeProbabilitySums(long) - Static method in class Plan
 

E

e - Variable in class LinkedQueue.Link
An element to store
element() - Method in class AQueue
 
element() - Method in interface IQueue
Retrieves, but does not remove, the head of this queue.
elements - Variable in class ArrayQueue
the underlying array for the queue
Eval - Class in <Unnamed>
 
Eval() - Constructor for class Eval
 
eval(List<List<Object>>, Queue<Integer>, IQueue<Integer>) - Static method in class Eval
 
evalAction(List<Object>, Queue<Integer>, IQueue<Integer>) - Static method in class Eval
 
evalAdd(List<Object>, Queue<Integer>, IQueue<Integer>) - Static method in class Eval
 
evalContains(List<Object>, Queue<Integer>, IQueue<Integer>) - Static method in class Eval
 
evalElement(List<Object>, Queue<Integer>, IQueue<Integer>) - Static method in class Eval
 
evalEmpty(List<Object>, Queue<Integer>, IQueue<Integer>) - Static method in class Eval
 
evalFillTo(List<Object>, Queue<Integer>, IQueue<Integer>) - Static method in class Eval
 
evalOffer(List<Object>, Queue<Integer>, IQueue<Integer>) - Static method in class Eval
 
evalPeek(List<Object>, Queue<Integer>, IQueue<Integer>) - Static method in class Eval
 
evalPoll(List<Object>, Queue<Integer>, IQueue<Integer>) - Static method in class Eval
 
evalRemove(List<Object>, Queue<Integer>, IQueue<Integer>) - Static method in class Eval
 
evalSize(List<Object>, Queue<Integer>, IQueue<Integer>) - Static method in class Eval
 

F

fillTarget(int, double) - Static method in class Plan
 
formatException(Object, Object, String, Object...) - Static method in class Eval
 

I

IQueue<E> - Interface in <Unnamed>
created by cspfrederick and garethhalladay Fall17
inspired by Chris Wilcox
isEmpty() - Method in class AQueue
 
isEmpty() - Method in interface IQueue
Returns true if this queue contains no elements.

K

keyed(long, String) - Static method in class Plan
 

L

Link(E) - Constructor for class LinkedQueue.Link
Initializes a newly created Link object.
LinkedQueue<E> - Class in <Unnamed>
LinkedQueue is a FIFO (First In First Out) data structure that stores its elements in non-contiguous chunks of memory that reference one another, forming a linked list.
LinkedQueue(int) - Constructor for class LinkedQueue
Creates a queue that will allow up to maxSize elements.
LinkedQueue.Link - Class in <Unnamed>
Underlying data structure to create a singly linked list.
listOfFirst(int, Queue<E>) - Static method in class QueueTestProgram
 

M

main(String[]) - Static method in class ArrayQueue
 
main(String[]) - Static method in class LinkedQueue
 
main(String[]) - Static method in class ResizingArrayQueue
 
maxSize - Variable in class ResizingArrayQueue
the maximum size of the queue.
minSize - Variable in class ResizingArrayQueue
the minimum size that the queue can shrink to.

N

newArray(int) - Method in class ArrayQueue
A helper method to create a new array of the generic type.
next - Variable in class LinkedQueue.Link
A reference to the next Link in the list
nextElement(double) - Static method in class Script
 

O

offer(E) - Method in class ArrayQueue
Adds an element to the queue.
offer(E) - Method in interface IQueue
Inserts the specified element into this queue if it is possible to do so immediately without violating capacity restrictions.
offer(E) - Method in class LinkedQueue
Adds an element to the queue.
offer(E) - Method in class ResizingArrayQueue
Adds an element to the queue.

P

peek() - Method in class ArrayQueue
Returns the oldest element in the queue (the element we would remove next), but does not remove it.
peek() - Method in interface IQueue
Retrieves, but does not remove, the head of this queue.
peek() - Method in class LinkedQueue
Returns (but does not remove) the head element in the queue.
Plan - Class in <Unnamed>
 
Plan() - Constructor for class Plan
 
plan(long, int) - Static method in class Plan
 
poll() - Method in class ArrayQueue
Removes the oldest element (the head) from the queue, and returns it.
poll() - Method in interface IQueue
Retrieves and removes the head of this queue.
poll() - Method in class LinkedQueue
Removes and returns the oldest element from the queue.
poll() - Method in class ResizingArrayQueue
Removes the oldest element from the queue.
positionInSort(List<Double>, double) - Static method in class Script
 
printFailedTests(int, IntFunction<Queue<Integer>>, IntFunction<IQueue<Integer>>) - Static method in class QueueTestProgram
 

Q

queue_max_size - Static variable in class QueueTestProgram
 
QueueTestProgram - Class in <Unnamed>
QueueTestProgram tests IQueue instances for correctness by comparing their behavior to ArrayBlockingQueue as a reference implementation.
QueueTestProgram() - Constructor for class QueueTestProgram
 

R

remove() - Method in class AQueue
 
remove() - Method in interface IQueue
Retrieves and removes the head of this queue.
removed - Variable in class ArrayQueue
the total elements removed (set back to zero if clear is called)
removedPos(List<E>, int) - Static method in class Shrink
 
resizeArrayTo(int) - Method in class ResizingArrayQueue
Replaces the current elements array with an array of size newSize.
ResizingArrayQueue<E> - Class in <Unnamed>
ResizingArrayQueue is a modification to ArrayQueue that is space efficient at various sizes.
ResizingArrayQueue(int, int) - Constructor for class ResizingArrayQueue
Create a new queue with the given constraints on size.
runLength(long) - Static method in class Plan
 
runTest(long, IntFunction<Queue<Integer>>, IntFunction<IQueue<Integer>>) - Static method in class QueueTestProgram
 
runTests(int, int, IntFunction<Queue<Integer>>, IntFunction<IQueue<Integer>>) - Static method in class QueueTestProgram
 

S

Script - Class in <Unnamed>
 
Script() - Constructor for class Script
 
script(Map<String, Object>) - Static method in class Script
 
Shrink - Class in <Unnamed>
 
Shrink() - Constructor for class Shrink
 
shrink(List<List<Object>>, Supplier<Queue<Integer>>, Supplier<IQueue<Integer>>) - Static method in class Shrink
 
shrinkCutFront(List<List<Object>>, Function<List<List<Object>>, Boolean>) - Static method in class Shrink
 
shrinkCutPos(List<List<Object>>, Function<List<List<Object>>, Boolean>) - Static method in class Shrink
 
shrinkTrim(List<List<Object>>, Function<List<List<Object>>, Map<String, Object>>) - Static method in class Shrink
 
size() - Method in class ArrayQueue
 
size() - Method in interface IQueue
Returns the number of elements in this queue.
size() - Method in class LinkedQueue
 

T

toString() - Method in interface IQueue
Returns a string representation of this queue.

W

waypointCount(long) - Static method in class Plan
 
waypoints(long, int, int) - Static method in class Plan
 
A C E F I K L M N O P Q R S T W 
Skip navigation links

CSU CS165