A B C D E F G H I K L M N O P Q R S T U V W

A

AbstractIterator<E> - Class in structure5
Abstract base class for portable iterator and enumeration implementation.
AbstractIterator() - Constructor for class structure5.AbstractIterator
Default constructor (for base class invocation).
AbstractLinear<E> - Class in structure5
An abstract implemtation of linear data structures.
AbstractLinear() - Constructor for class structure5.AbstractLinear
 
AbstractList<E> - Class in structure5
An abstract structure implementing features common to all list-like structures in this package.
AbstractList() - Constructor for class structure5.AbstractList
Default constructor for AbstractLists
AbstractListIterator<E> - Class in structure5
Base class for the implementation of a list Iterator.
AbstractListIterator() - Constructor for class structure5.AbstractListIterator
Default constructor (for base class invocation).
AbstractMap<K,V> - Class in structure5
Associations establish a link between a key and a value.
AbstractMap() - Constructor for class structure5.AbstractMap
 
AbstractQueue<E> - Class in structure5
An abstract structure implementing features common to all first-in, first-out structures in this package.
AbstractQueue() - Constructor for class structure5.AbstractQueue
 
AbstractSet<E> - Class in structure5
Methods common to an Implementation of a set of elements irrespective of the underlying storage mechanism.
AbstractSet() - Constructor for class structure5.AbstractSet
 
AbstractStack<E> - Class in structure5
An abstract structure implementing features common to all Last-In, First-Out structures in this package.
AbstractStack() - Constructor for class structure5.AbstractStack
 
AbstractStructure<E> - Class in structure5
An abstract implementation of a basic, mutable data structure.
AbstractStructure() - Constructor for class structure5.AbstractStructure
The default constructor.
add(E) - Method in class structure5.AbstractList
Add an object to tail of list.
add(E) - Method in class structure5.AbstractListIterator
 
add(E) - Method in class structure5.BinarySearchTree
Add a (possibly duplicate) value to binary search tree
add(int) - Method in class structure5.BitSet
Adds a bit to the bitset, if not already there.
add(char) - Method in class structure5.CharSet
Adds character c to set if not already there.
add(E) - Method in class structure5.CircularList
Add an element to head of circular list.
add(int, E) - Method in class structure5.CircularList
Insert value at location.
add(E) - Method in class structure5.DoublyLinkedList
Add a value to head of list.
add(int, E) - Method in class structure5.DoublyLinkedList
Insert value at location.
add(V) - Method in interface structure5.Graph
Add a vertex to the graph
add(V) - Method in class structure5.GraphList
Add a vertex to the graph.
add(V) - Method in class structure5.GraphMatrix
Add a vertex to the graph.
add(E) - Method in interface structure5.Linear
Add a value to the structure.
add(E) - Method in interface structure5.List
Add an object to tail of list.
add(int, E) - Method in interface structure5.List
Insert value at location.
add(E) - Method in class structure5.OrderedList
Add a value to the ordered list, keeping values in order
add(E) - Method in class structure5.OrderedVector
Add a comparable value to an ordered vector
add(E) - Method in interface structure5.PriorityQueue
Add a value to the priority queue.
add(E) - Method in class structure5.PriorityVector
Add a comparable value to the priority queue.
add(E) - Method in interface structure5.Queue
Add a value to the tail of the queue.
add(E) - Method in class structure5.QueueArray
Add a value to the tail of the queue.
add(E) - Method in class structure5.QueueList
Add a value to the tail of the queue.
add(E) - Method in class structure5.QueueVector
Add a value to the tail of the queue
add(E) - Method in class structure5.RedBlackSearchTree
Add a (possibly duplicate) value to the red-black tree, and ensure that the resulting tree is a red-black tree.
add(E) - Method in class structure5.RedBlackTree
Add a value to the red black tree, performing neccisary rotations and adjustments.
add(E) - Method in class structure5.SetList
Add an element to set, if not already present.
add(E) - Method in class structure5.SetVector
Add an element to set, if not already present.
add(E) - Method in class structure5.SinglyLinkedList
Add an object to tail of list.
add(int, E) - Method in class structure5.SinglyLinkedList
Insert value at location.
add(E) - Method in class structure5.SkewHeap
Add a value to the priority queue.
add(E) - Method in class structure5.SplayTree
Add a value to the splay tree.
add(E) - Method in interface structure5.Stack
Add an element from the top of the stack.
add(E) - Method in class structure5.StackArray
Add a value to the top of the stack.
add(E) - Method in class structure5.StackList
Add a value to the top of the stack.
add(E) - Method in class structure5.StackVector
Add an element from the top of the stack.
add(E) - Method in class structure5.StructCollection
Add an object to the subordinate Structure, and return boolean indicating success.
add(E) - Method in interface structure5.Structure
Inserts value in some structure-specific location.
add(E) - Method in class structure5.Vector
Add an element to the high end of the array, possibly expanding vector.
add(int, E) - Method in class structure5.Vector
Insert an element at a particular location.
add(E) - Method in class structure5.VectorHeap
Add a value to the priority queue.
addAll(Structure<E>) - Method in class structure5.AbstractSet
Union other set into this set.
addAll(Structure<E>) - Method in interface structure5.Set
Union other set into this set.
addAll(Structure<E>) - Method in class structure5.SetList
Compute the union of this set with other.
addAll(Structure<E>) - Method in class structure5.SetVector
Compute the union of this set with other.
addAll(Collection<? extends E>) - Method in class structure5.StructCollection
Adds all the elements of another collection (c) into this Structure.
addCol(int) - Method in class structure5.Matrix
Add a new column, whose index will be c.
addEdge(V, V, E) - Method in interface structure5.Graph
Add an edge between two vertices within the graph.
addEdge(V, V, E) - Method in class structure5.GraphList
Add an edge between two vertices within the graph.
addEdge(V, V, E) - Method in class structure5.GraphListDirected
Add an edge between two vertices within the graph.
addEdge(V, V, E) - Method in class structure5.GraphListUndirected
Add an edge between two vertices within the graph.
addEdge(V, V, E) - Method in class structure5.GraphMatrix
Add an edge between two vertices within the graph.
addEdge(V, V, E) - Method in class structure5.GraphMatrixDirected
Add an edge between two vertices within the graph.
addEdge(V, V, E) - Method in class structure5.GraphMatrixUndirected
Add an edge between two vertices within the graph.
addElement(E) - Method in class structure5.Vector
Add an element to the high end of the array, possibly expanding vector.
addFirst(E) - Method in class structure5.AbstractList
Add a value to head of list.
addFirst(E) - Method in class structure5.CircularList
Add an element to head of list.
addFirst(E) - Method in class structure5.DoublyLinkedList
Add a value to head of list.
addFirst(E) - Method in interface structure5.List
Add a value to the head of the list.
addFirst(E) - Method in class structure5.SinglyLinkedList
Add a value to head of list.
addLast(E) - Method in class structure5.AbstractList
Add a value to tail of list.
addLast(E) - Method in class structure5.CircularList
Add a value to tail of circular list.
addLast(E) - Method in class structure5.DoublyLinkedList
Add a value to tail of list.
addLast(E) - Method in interface structure5.List
Add a value to tail of list.
addLast(E) - Method in class structure5.SinglyLinkedList
Add a value to tail of list.
addRow(int) - Method in class structure5.Matrix
Add a new row, whose index will be r.
ArrayIterator<E> - Class in structure5
A conveniece class that provies a mechanism to iterate over arrays that is analogous to the iteration techniques employed by the structures in this package.
ArrayIterator(Object[]) - Constructor for class structure5.ArrayIterator
Construct an iterator that iterates over the entire contents of an array.
ArrayIterator(Object[], int, int) - Constructor for class structure5.ArrayIterator
Constructs an iterator that will iterate over a specified portion of the source array.
Assert - Class in structure5
A library of assertion testing and debugging procedures.
Association<K,V> - Class in structure5
A class implementing a key-value pair.
Association(K, V) - Constructor for class structure5.Association
Constructs a pair from a key and value.
Association(K) - Constructor for class structure5.Association
Constructs a pair from a key; value is null.
author - Static variable in class structure5.Version
 
available() - Method in class structure5.FileStream
 

B

BinarySearchTree<E extends Comparable<E>> - Class in structure5
A binary search tree structure.
BinarySearchTree() - Constructor for class structure5.BinarySearchTree
Constructs a binary search tree with no data
BinarySearchTree(Comparator<E>) - Constructor for class structure5.BinarySearchTree
Constructs a binary search tree with no data
BinaryTree<E> - Class in structure5
This class implements a single node of a binary tree.
BinaryTree() - Constructor for class structure5.BinaryTree
A one-time constructor, for constructing empty trees.
BinaryTree(E) - Constructor for class structure5.BinaryTree
Constructs a tree node with no children.
BinaryTree(E, BinaryTree<E>, BinaryTree<E>) - Constructor for class structure5.BinaryTree
Constructs a tree node with two children.
BitSet - Class in structure5
Implementation of a set of numbered bits.
BitSet() - Constructor for class structure5.BitSet
Constructs an empty bitset.
BitSet(int) - Constructor for class structure5.BitSet
Constructs an empty bitset with potential to hold values between 0..count-1.

C

capacity() - Method in class structure5.Vector
Determine the capacity of the vector.
ChainedHashtable<K,V> - Class in structure5
This class implements a hash table whose collisions are resolved through external chaining.
ChainedHashtable(int) - Constructor for class structure5.ChainedHashtable
Constructs a hashtable with capacity for at size elements before chaining is absolutely required.
ChainedHashtable() - Constructor for class structure5.ChainedHashtable
Constructs a reasonably large hashtable.
CharSet - Class in structure5
Implementation of a set of characters whose ASCII values are between 0 and 255, inclusive.
CharSet() - Constructor for class structure5.CharSet
Constructs an empty charset.
CircularList<E> - Class in structure5
An implementation of lists using circularly linked elements, similar to that of java.util.LinkedList.
CircularList() - Constructor for class structure5.CircularList
Construct an empty circular list.
clear() - Method in class structure5.BinarySearchTree
Removes all data from the binary search tree
clear() - Method in class structure5.BitSet
Remove all bits from the set.
clear(int) - Method in class structure5.BitSet
Remove bits from set; set size to count.
clear() - Method in class structure5.ChainedHashtable
Removes the values from the hashtable.
clear() - Method in class structure5.CharSet
Removes the characters of the set.
clear() - Method in class structure5.CircularList
Remove elements of list.
clear() - Method in class structure5.DoublyLinkedList
Remove all values from list.
clear() - Method in interface structure5.Graph
Remove all vertices (and thus, edges) of the graph.
clear() - Method in class structure5.GraphList
Remove all vertices (and thus, edges) of the graph.
clear() - Method in class structure5.GraphMatrix
Remove all vertices (and thus, edges) of the graph.
clear() - Method in class structure5.Hashtable
Remove all key-value pairs from hashtable.
clear() - Method in interface structure5.List
Remove all elements of list.
clear() - Method in interface structure5.Map
 
clear() - Method in class structure5.MapList
 
clear() - Method in class structure5.OrderedList
Remove all the elements from the ordered list
clear() - Method in class structure5.OrderedVector
Removes all the values from a an ordered vector
clear() - Method in interface structure5.PriorityQueue
Remove all the elements from the queue.
clear() - Method in class structure5.PriorityVector
Remove all the values from the priority queue.
clear() - Method in class structure5.QueueArray
Remove all the values from the queue.
clear() - Method in class structure5.QueueList
Remove all the values from the queue.
clear() - Method in class structure5.QueueVector
Remove all the values from the queue.
clear() - Method in class structure5.RedBlackSearchTree
Removes all data from the binary search tree
clear() - Method in class structure5.SetList
Remove all the elements from the set.
clear() - Method in class structure5.SetVector
Remove all the elements from the set.
clear() - Method in class structure5.SinglyLinkedList
Remove all values from list.
clear() - Method in class structure5.SkewHeap
Remove all the elements from the queue.
clear() - Method in class structure5.StackArray
Remove all elements from the stack.
clear() - Method in class structure5.StackList
Remove all elements from the stack.
clear() - Method in class structure5.StackVector
Remove all elements from stack.
clear() - Method in class structure5.StructCollection
Remove all elements from the Structure.
clear() - Method in interface structure5.Structure
Removes all elements from the structure.
clear() - Method in class structure5.Table
Remove all the elements of the table.
clear() - Method in class structure5.Vector
Remove all the values of the vector.
clear() - Method in class structure5.VectorHeap
Remove all the elements from the queue.
Clock - Class in structure5
A simple object for measuring time.
Clock() - Constructor for class structure5.Clock
Constructs a stopwatch for timing events to the milliseconds.
clone() - Method in class structure5.BitSet
Returns a copy of the set.
clone() - Method in class structure5.CharSet
Construct a duplicate of the character set.
clone() - Method in class structure5.SetList
Returns a shallow clone of this set.
clone() - Method in class structure5.SetVector
Returns a shallow clone of this set.
clone() - Method in class structure5.Vector
Construct a shallow copy of the vector.
close() - Method in class structure5.FileStream
 
ComparableAssociation<K extends Comparable<K>,V> - Class in structure5
A class implementing a comparable key-value pair.
ComparableAssociation(K) - Constructor for class structure5.ComparableAssociation
Construct an association that can be ordered, from only a key.
ComparableAssociation(K, V) - Constructor for class structure5.ComparableAssociation
Construct a key-value association that can be ordered.
ComparableEdge<V,E extends Comparable<E>> - Class in structure5
A class implementing common edge type among graphs.
ComparableEdge(V, V, E, boolean) - Constructor for class structure5.ComparableEdge
Construct a (possibly directed) edge between two labeled vertices.
ComparableEdge(Edge<V, E>) - Constructor for class structure5.ComparableEdge
Construct a (possibly directed) edge between two labeled vertices.
compare(E, E) - Method in class structure5.NaturalComparator
Compare two values, a and b.
compare(E, E) - Method in class structure5.ReverseComparator
Compare two values, a and b.
compareTo(ComparableAssociation<K, V>) - Method in class structure5.ComparableAssociation
Determine the order of two comparable associations, based on key.
compareTo(ComparableEdge<V, E>) - Method in class structure5.ComparableEdge
Compare edge, based on labels.
condition(boolean, String) - Static method in class structure5.Assert
Test a general condition.
consistency() - Method in class structure5.RedBlackTree
Returns true if this node is consistently structured
contains(E) - Method in class structure5.AbstractList
Check to see if a value is in list.
contains(E) - Method in class structure5.AbstractStructure
Determines if the structure contains a value.
contains(E) - Method in class structure5.BinarySearchTree
Determines if the binary search tree contains a value
contains(int) - Method in class structure5.BitSet
Determine if a bit is a member of the set.
contains(char) - Method in class structure5.CharSet
Detects whether c is a member of this set.
contains(E) - Method in class structure5.CircularList
Check if a list contains an element.
contains(E) - Method in class structure5.DoublyLinkedList
Check to see if a value is within list.
contains(V) - Method in interface structure5.Graph
Test for vertex membership.
contains(V) - Method in class structure5.GraphList
Test for vertex membership.
contains(V) - Method in class structure5.GraphMatrix
Test for vertex membership.
contains(E) - Method in interface structure5.List
Check to see if a value is in list.
contains(E) - Method in class structure5.OrderedList
Determine if the ordered list contains a value
contains(E) - Method in class structure5.OrderedVector
Determine if a comparable value is a member of the ordered vector
contains(E) - Method in class structure5.RedBlackSearchTree
Determines if the red-black search tree contains a value
contains(E) - Method in class structure5.RedBlackTree
Determines if the red black search tree contains a value
contains(E) - Method in class structure5.SetList
Returns true if value is an element of the set.
contains(E) - Method in class structure5.SetVector
Returns true if value is an element of the set.
contains(E) - Method in class structure5.SinglyLinkedList
Check to see if a value is in list.
contains(E) - Method in class structure5.SplayTree
Determine if a particular value is within the search tree.
contains(Object) - Method in class structure5.StructCollection
Returns true iff object o is contained within the subordinate structure.
contains(E) - Method in interface structure5.Structure
Determines if the structure contains a value.
contains(E) - Method in class structure5.Vector
Determine if a value appears in a vector.
containsAll(Structure<E>) - Method in class structure5.AbstractSet
Check to see if this set is contained in the other structure.
containsAll(Structure<E>) - Method in interface structure5.Set
Check to see if this set is contained in the other structure.
containsAll(Structure<E>) - Method in class structure5.SetList
Determine if this set is a subset of other.
containsAll(Structure<E>) - Method in class structure5.SetVector
Determine if this set is a subset of other.
containsAll(Collection<?>) - Method in class structure5.StructCollection
Returns true if all of the elements of c are contained within the subordinate structure.
containsEdge(V, V) - Method in interface structure5.Graph
Test for edge membership.
containsEdge(V, V) - Method in class structure5.GraphList
Test for edge membership.
containsEdge(V, V) - Method in class structure5.GraphMatrix
Test for edge membership.
containsKey(K) - Method in class structure5.ChainedHashtable
Returns true iff a specific key appears within the table.
containsKey(K) - Method in class structure5.Hashtable
Returns true iff a specific key appears within the table.
containsKey(K) - Method in interface structure5.Map
 
containsKey(K) - Method in class structure5.MapList
 
containsKey(K) - Method in class structure5.Table
Determine if the key is in the table.
containsValue(V) - Method in class structure5.ChainedHashtable
Returns true if a specific value appears within the table.
containsValue(V) - Method in class structure5.Hashtable
Returns true if a specific value appears within the table.
containsValue(V) - Method in interface structure5.Map
 
containsValue(V) - Method in class structure5.MapList
 
containsValue(V) - Method in class structure5.Table
Returns true if the value is associated with some key in the table.
copyInto(Object[]) - Method in class structure5.Vector
Copy the contents of the vector into an array.

D

debug(String) - Static method in class structure5.Assert
Set up a level 1 debugging message.
debug(int, String) - Static method in class structure5.Assert
Set up a debugging message at a specific level.
debugging() - Static method in class structure5.Assert
Increase the verbosity of the debugging messages.
debugLevel(int) - Static method in class structure5.Assert
Explictly set the debugging level (0 = none)
degree(V) - Method in interface structure5.Graph
Determine out degree of vertex.
degree(V) - Method in class structure5.GraphList
Determine out degree of vertex.
degree(V) - Method in class structure5.GraphMatrix
Determine out degree of vertex.
depth() - Method in class structure5.BinaryTree
Compute the depth of a node.
depth() - Method in class structure5.RedBlackTree
Compute the depth of a node.
dequeue() - Method in class structure5.AbstractQueue
Remove a value form the head of the queue.
dequeue() - Method in interface structure5.Queue
Remove a value from the head of the queue.
difference(BitSet) - Method in class structure5.BitSet
Computes the difference between this set and the other.
difference(CharSet) - Method in class structure5.CharSet
Computes the difference between this and other charset.
DoublyLinkedList<E> - Class in structure5
An implementation of lists using doubly linked elements, similar to that of java.util.LinkedList.
DoublyLinkedList() - Constructor for class structure5.DoublyLinkedList
Constructs an empty list.
DoublyLinkedListElement<E> - Class in structure5
A class supporting a doubly linked list element.
DoublyLinkedListElement(E, DoublyLinkedListElement<E>, DoublyLinkedListElement<E>) - Constructor for class structure5.DoublyLinkedListElement
Construct a doubly linked list element.
DoublyLinkedListElement(E) - Constructor for class structure5.DoublyLinkedListElement
Construct a doubly linked list element containing a value.
DoublyLinkedListIterator<E> - Class in structure5
An iterator for traversing the elements of a doubly linked list.
DoublyLinkedListIterator(DoublyLinkedListElement<E>) - Constructor for class structure5.DoublyLinkedListIterator
Construct an iterator over a doubly linked list hanging from head.
DoublyLinkedListIterator(DoublyLinkedListElement<E>, DoublyLinkedListElement<E>) - Constructor for class structure5.DoublyLinkedListIterator
 

E

Edge<V,E> - Class in structure5
A class implementing common edge type among graphs.
Edge(V, V, E, boolean) - Constructor for class structure5.Edge
Construct a (possibly directed) edge between two labeled vertices.
edgeCount() - Method in interface structure5.Graph
Determine the number of edges in graph.
edgeCount() - Method in class structure5.GraphList
Determine the number of edges in graph.
edgeCount() - Method in class structure5.GraphListDirected
Determine the number of edges in graph.
edgeCount() - Method in class structure5.GraphListUndirected
Determine the number of edges in graph.
edgeCount() - Method in class structure5.GraphMatrix
Determine the number of edges in graph.
edgeCount() - Method in class structure5.GraphMatrixDirected
Determine the number of edges in graph.
edgeCount() - Method in class structure5.GraphMatrixUndirected
Determine the number of edges in graph.
edges() - Method in interface structure5.Graph
Construct an iterator over all edges.
edges() - Method in class structure5.GraphList
Construct an iterator over all edges.
edges() - Method in class structure5.GraphMatrix
Construct an traversal over all edges.
edges() - Method in class structure5.GraphMatrixDirected
Construct an traversal over all edges.
edges() - Method in class structure5.GraphMatrixUndirected
Construct an traversal over all edges.
elementAt(int) - Method in class structure5.Vector
Fetch the element at a particular index.
elements() - Method in class structure5.AbstractStructure
Return an enumeration associated with this structure.
elements() - Method in interface structure5.Structure
Returns an enumeration for traversing the structure.
empty() - Method in class structure5.AbstractLinear
Determine if there are elements within the linear.
empty() - Method in interface structure5.Linear
Returns true iff the structure is empty.
empty() - Method in interface structure5.Queue
Returns true iff the queue is empty.
EMPTY - Static variable in class structure5.RedBlackTree
the unique empty node; used as children on leaf trees and as empty search trees.
empty() - Method in interface structure5.Stack
Returns true iff the stack is empty.
empty() - Method in class structure5.StackList
Determine if the stack is empty.
enqueue(E) - Method in class structure5.AbstractQueue
Add a value to the tail of the queue.
enqueue(E) - Method in interface structure5.Queue
Add a value to the tail of the queue.
ensureCapacity(int) - Method in class structure5.Vector
Ensure that the vector is capable of holding at least minCapacity values without expansion.
Entry<K,V> - Class in structure5
An implementation of the the java.util.Map.Entry interface, Entry is a simple key value pair, from which both the key and the value can be accessed.
Entry(K, V) - Constructor for class structure5.Entry
Constructs a pair from a key and value.
Entry(K) - Constructor for class structure5.Entry
Constructs a pair from a key; value is null.
entrySet() - Method in class structure5.ChainedHashtable
 
entrySet() - Method in class structure5.Hashtable
 
entrySet() - Method in interface structure5.Map
 
entrySet() - Method in class structure5.MapList
 
entrySet() - Method in class structure5.Table
Return a structure containing all the entries in this Table
eof() - Method in class structure5.ReadStream
Determine if we've seen end-of-file.
eoln() - Method in class structure5.ReadStream
Return true if the next character to be read is an end-of-line mark.
equals(Object) - Method in class structure5.Association
Standard comparison function.
equals(Object) - Method in class structure5.BitSet
Return true iff this set and o contain the same elements.
equals(Object) - Method in class structure5.CharSet
Detect if two sets are equal.
equals(Object) - Method in class structure5.DoublyLinkedListElement
Determine if this element equal to another.
equals(Object) - Method in class structure5.Edge
Test for equality of edges.
equals(Object) - Method in class structure5.Entry
Standard comparison function.
equals(Object) - Method in interface structure5.Map
 
equals(Object) - Method in class structure5.MapList
 
equals(Object) - Method in class structure5.NaturalComparator
Returns true if the other object is a NaturalComparator.
equals(Object) - Method in class structure5.ReverseComparator
Returns true if the other object is a NaturalComparator.
equals(Object) - Method in class structure5.StructCollection
Compare one StructCollection with another.

F

fail(String) - Static method in class structure5.Assert
Indicate certain failure.
FileStream - Class in structure5
This class provides a way to connect text files to scanners, without worrying about Exceptions.
FileStream(String) - Constructor for class structure5.FileStream
Create a reader for the file with the given name.
firstElement() - Method in class structure5.Vector
Get access to the first element of the vector.

G

get() - Method in class structure5.AbstractIterator
Returns the value currently being considered by the AbstractIterator.
get() - Method in class structure5.AbstractList
Retrieves value from tail of list.
get() - Method in class structure5.AbstractListIterator
 
get() - Method in class structure5.ArrayIterator
Return the object currently specified by the iteration without advancing the iterator to the next object.
get(E) - Method in class structure5.BinarySearchTree
Returns reference to value found within three.
get(K) - Method in class structure5.ChainedHashtable
Get the value associated with a key.
get(int) - Method in class structure5.CircularList
Get value at location i.
get(int) - Method in class structure5.DoublyLinkedList
Get value at location i.
get() - Method in class structure5.DoublyLinkedListIterator
Get reference to value that is current.
get(V) - Method in interface structure5.Graph
Get reference to actual label of vertex.
get(V) - Method in class structure5.GraphList
Get reference to actual label of vertex.
get(V) - Method in class structure5.GraphMatrix
Get reference to actual label of vertex.
get(K) - Method in class structure5.Hashtable
Get the value associated with a key.
get() - Method in interface structure5.Linear
Preview the object to be removed.
get() - Method in interface structure5.List
Retrieves value from tail of list.
get(int) - Method in interface structure5.List
Get value at location i.
get(K) - Method in interface structure5.Map
 
get(K) - Method in class structure5.MapList
 
get(int, int) - Method in class structure5.Matrix
Fetch an element from the matrix.
get() - Method in interface structure5.Queue
Fetch the value at the head of the queue.
get() - Method in class structure5.QueueArray
Fetch the value at the head of the queue.
get() - Method in class structure5.QueueList
Fetch the value at the head of the queue.
get() - Method in class structure5.QueueVector
Fetch the value at the head of the queue.
get(E) - Method in class structure5.RedBlackTree
Returns a c-equivalent value from tree, or null.
get(int) - Method in class structure5.SinglyLinkedList
Get value at location i.
get(E) - Method in class structure5.SplayTree
Fetch a reference to the comparable value in the tree.
get() - Method in interface structure5.Stack
Fetch a reference to the top element of the stack.
get() - Method in class structure5.StackArray
Get a reference to the top value in the stack.
get() - Method in class structure5.StackList
Get a reference to the top value in the stack.
get() - Method in class structure5.StackVector
Fetch a reference to the top element of the stack.
get(K) - Method in class structure5.Table
Retrieve the value associated with the key provided.
get(int) - Method in class structure5.Vector
Fetch the element at a particular index.
getEdge(V, V) - Method in interface structure5.Graph
Get reference to actual edge.
getEdge(V, V) - Method in class structure5.GraphList
Get reference to actual edge.
getEdge(V, V) - Method in class structure5.GraphMatrix
Get reference to actual edge.
getFirst() - Method in class structure5.AbstractList
Fetch first element of list.
getFirst() - Method in class structure5.AbstractQueue
Fetch the value at the head of the queue.
getFirst() - Method in class structure5.AbstractStack
Deprecated. Please use method get, rather than getFirst!
getFirst() - Method in class structure5.CircularList
Determine if a list is empty.
getFirst() - Method in class structure5.DoublyLinkedList
Get a copy of first value found in list.
getFirst() - Method in interface structure5.List
Fetch first element of list.
getFirst() - Method in interface structure5.PriorityQueue
Fetch lowest valued (highest priority) item from queue.
getFirst() - Method in class structure5.PriorityVector
Fetch the smallest value of the priority queue.
getFirst() - Method in interface structure5.Queue
Fetch the value at the head of the queue.
getFirst() - Method in class structure5.ReadStream
Read (but don't consume) next char in stream.
getFirst() - Method in class structure5.SinglyLinkedList
Fetch first element of list.
getFirst() - Method in class structure5.SkewHeap
Fetch lowest valued (highest priority) item from queue.
getFirst() - Method in interface structure5.Stack
Fetch a reference to the top element of the stack.
getFirst() - Method in class structure5.VectorHeap
Fetch lowest valued (highest priority) item from queue.
getKey() - Method in class structure5.Association
Fetch key from association.
getKey() - Method in class structure5.Entry
Fetch key from association.
getKey() - Method in class structure5.HashAssociation
 
getLast() - Method in class structure5.AbstractList
Fetch last element of list.
getLast() - Method in class structure5.CircularList
Peek at last element of list.
getLast() - Method in class structure5.DoublyLinkedList
Get a copy of last value found in list.
getLast() - Method in interface structure5.List
Fetch last element of list.
getLast() - Method in class structure5.SinglyLinkedList
Fetch last element of list.
getValue() - Method in class structure5.Association
Fetch value from association.
getValue() - Method in class structure5.Entry
Fetch value from association.
getValue() - Method in class structure5.HashAssociation
 
Graph<V,E> - Interface in structure5
The interface describing all Graph objects.
GraphList<V,E> - Class in structure5
Implementation of graph using adjacency lists.
GraphListDirected<V,E> - Class in structure5
A GraphListDirected is a list-based graph representation that consists of a collection of vertices and directed edges.
GraphListDirected() - Constructor for class structure5.GraphListDirected
Construct a directed, adjacency-list based graph.
GraphListUndirected<V,E> - Class in structure5
A GraphListUndirected is a list-based graph representation that consists of a collection of vertices and undirected edges.
GraphListUndirected() - Constructor for class structure5.GraphListUndirected
Construct an undirected, adjacency-list based graph.
GraphMatrix<V,E> - Class in structure5
Implementation of graph using adjacency matrices.
GraphMatrixDirected<V,E> - Class in structure5
A GraphMatrixDirected is a matrix-based graph representation that consists of a collection of vertices and directed edges.
GraphMatrixDirected(int) - Constructor for class structure5.GraphMatrixDirected
Construct a directed, adjacency-matrix based graph.
GraphMatrixUndirected<V,E> - Class in structure5
A GraphMatrixUndirected is a matrix-based graph representation that consists of a collection of vertices and undirected edges.
GraphMatrixUndirected(int) - Constructor for class structure5.GraphMatrixUndirected
Construct an undirected, adjacency-matrix based graph.

H

HashAssociation<K,V> - Class in structure5
Implements an association that can be marked "reserved".
HashAssociation(K, V) - Constructor for class structure5.HashAssociation
 
HashAssociation(K) - Constructor for class structure5.HashAssociation
 
hashCode() - Method in class structure5.AbstractMap
Compute the hashCode for elements of this map
hashCode() - Method in class structure5.AbstractStructure
 
hashCode() - Method in class structure5.Association
Standard hashcode function.
hashCode() - Method in class structure5.BinarySearchTree
Returns the hashCode of the value stored by this object.
hashCode() - Method in class structure5.BinaryTree
 
hashCode() - Method in class structure5.DoublyLinkedListElement
Generate hash code associated with the element.
hashCode() - Method in class structure5.Edge
Returns hashcode associated with edge.
hashCode() - Method in class structure5.Entry
Standard hashcode function.
hashCode() - Method in interface structure5.Map
 
hashCode() - Method in class structure5.MapList
 
hashCode() - Method in class structure5.RedBlackSearchTree
Returns the hashCode of the value stored by this object.
hashCode() - Method in class structure5.RedBlackTree
Computes hash code associated with values of tree.
hashCode() - Method in class structure5.StructCollection
Return hash code.
Hashtable<K,V> - Class in structure5
Implements a dictionary as a table of hashed key-value pairs.
Hashtable(int) - Constructor for class structure5.Hashtable
Construct a hash table that is capable of holding at least initialCapacity values.
Hashtable() - Constructor for class structure5.Hashtable
Construct a hash table that is initially empty.
hasMoreElements() - Method in class structure5.AbstractIterator
An Enumeration method that is equivalent to AbstractIterator.hasNext().
hasNext() - Method in class structure5.AbstractIterator
Returns true if the iterator has more elements to visit.
hasNext() - Method in class structure5.ArrayIterator
Returns true iff there are elements specified by our iterator that have not been visited by the current iteration.
hasNext() - Method in class structure5.DoublyLinkedListIterator
Determine if there are more elements to be considered.
height() - Method in class structure5.BinaryTree
Returns height of node in tree.
height() - Method in class structure5.Matrix
Return the height of the matrix.
here() - Method in class structure5.Edge
Returns the first vertex (or source if directed).

I

Id - Static variable in class structure5.Version
 
indexOf(E) - Method in class structure5.CircularList
Determine first location of a value in list.
indexOf(E) - Method in class structure5.DoublyLinkedList
Determine first location of a value in list.
indexOf(E) - Method in interface structure5.List
Determine first location of a value in list.
indexOf(E) - Method in class structure5.SinglyLinkedList
Determine first location of a value in list.
indexOf(E) - Method in class structure5.Vector
Assuming the data is not in order, find the index of a value, or return -1 if not found.
indexOf(E, int) - Method in class structure5.Vector
Assuming the data is not in order, find the index of a value or return -1 if the value is not found.
inorderIterator() - Method in class structure5.BinaryTree
Return an iterator to traverse the elements of subtree in-order
insertElementAt(E, int) - Method in class structure5.Vector
Insert an element at a particular location.
intersection(BitSet) - Method in class structure5.BitSet
Return the intersection of this set and the other.
intersection(CharSet) - Method in class structure5.CharSet
Computes the intersection of this charset and other.
invariant(boolean, String) - Static method in class structure5.Assert
Test a loop invariant.
isBalanced() - Method in class structure5.BinaryTree
Return true iff the tree is height balanced.
isComplete() - Method in class structure5.BinaryTree
Return whether tree is complete.
isDirected() - Method in class structure5.Edge
Check to see if edge is directed.
isDirected() - Method in interface structure5.Graph
Determine if graph is directed.
isDirected() - Method in class structure5.GraphList
Determine if graph is directed.
isDirected() - Method in class structure5.GraphMatrix
Determine if graph is directed.
isEmpty() - Method in class structure5.AbstractList
Determine if list is empty.
isEmpty() - Method in class structure5.AbstractStructure
Determine if there are elements within the structure.
isEmpty() - Method in class structure5.BinarySearchTree
Checks for an empty binary search tree
isEmpty() - Method in class structure5.BinaryTree
Returns true if tree is empty.
isEmpty() - Method in class structure5.BitSet
Determine if a set is empty.
isEmpty() - Method in class structure5.ChainedHashtable
Returns true if no elements are stored within the table.
isEmpty() - Method in class structure5.CharSet
Detect an empty charset.
isEmpty() - Method in class structure5.CircularList
Determine if a list is empty.
isEmpty() - Method in class structure5.DoublyLinkedList
Determine if list is empty.
isEmpty() - Method in interface structure5.Graph
Determine if graph is empty.
isEmpty() - Method in class structure5.GraphList
Determine if graph is empty.
isEmpty() - Method in class structure5.GraphMatrix
Determine if graph is empty.
isEmpty() - Method in class structure5.Hashtable
Determine if table is empty.
isEmpty() - Method in interface structure5.List
Determine if list is empty.
isEmpty() - Method in interface structure5.Map
 
isEmpty() - Method in class structure5.MapList
 
isEmpty() - Method in class structure5.OrderedList
Determine if the list is empty
isEmpty() - Method in class structure5.OrderedVector
Determine if the ordered vector is empty.
isEmpty() - Method in interface structure5.PriorityQueue
Determine if the queue is empty.
isEmpty() - Method in class structure5.PriorityVector
Determine if the priority queue is empty.
isEmpty() - Method in class structure5.QueueArray
Determine if the queue is empty.
isEmpty() - Method in class structure5.QueueList
Determine if the queue is empty.
isEmpty() - Method in class structure5.QueueVector
Determine if the queue is empty.
isEmpty() - Method in class structure5.RedBlackSearchTree
Checks for an empty binary search tree
isEmpty() - Method in class structure5.RedBlackTree
Returns true if tree is empty.
isEmpty() - Method in class structure5.SetList
Determine if the set is empty.
isEmpty() - Method in class structure5.SetVector
Determine if the set is empty.
isEmpty() - Method in class structure5.SkewHeap
Determine if the queue is empty.
isEmpty() - Method in class structure5.StackArray
Determine if the stack is empty.
isEmpty() - Method in class structure5.StackVector
Returns true iff the stack is empty.
isEmpty() - Method in class structure5.StructCollection
Detect an empty structure.
isEmpty() - Method in interface structure5.Structure
Determine if there are elements within the structure.
isEmpty() - Method in class structure5.Table
Determine if the table is empty.
isEmpty() - Method in class structure5.Vector
Determine if the Vector contains no values.
isEmpty() - Method in class structure5.VectorHeap
Determine if the queue is empty.
isFull() - Method in class structure5.BinaryTree
Returns true if tree is full.
isFull() - Method in class structure5.QueueArray
Determines if the queue is not able to accept any new values.
isFull() - Method in class structure5.StackArray
Determine if the stack is full.
isLeftChild() - Method in class structure5.BinaryTree
Determine if this node is a left child
isLeftChild() - Method in class structure5.RedBlackTree
Determine if this node is a left child
isRedBlack() - Method in class structure5.RedBlackSearchTree
Returns true iff this tree is a red-black tree.
isRightChild() - Method in class structure5.BinaryTree
Determine if this node is a right child
isRightChild() - Method in class structure5.RedBlackTree
Determine if this node is a right child
isVisited() - Method in class structure5.Edge
Check to see if edge has been visited.
isVisited(V) - Method in interface structure5.Graph
Return visited flag of vertex.
isVisited(V) - Method in class structure5.GraphList
Return visited flag of vertex.
isVisited(V) - Method in class structure5.GraphMatrix
Return visited flag of vertex.
isVisitedEdge(Edge<V, E>) - Method in interface structure5.Graph
Return visited flag of edge.
isVisitedEdge(Edge<V, E>) - Method in class structure5.GraphList
Return visited flag of edge.
isVisitedEdge(Edge<V, E>) - Method in class structure5.GraphMatrix
Return visited flag of edge.
iterator() - Method in class structure5.AbstractIterator
Support for for-iteration.
iterator() - Method in class structure5.BinarySearchTree
Returns an iterator over the binary search tree.
iterator() - Method in class structure5.BinaryTree
Generate an in-order iterator of subtree
iterator() - Method in class structure5.ChainedHashtable
Returns an iterator that traverses over the values of the hashtable.
iterator() - Method in class structure5.CircularList
Construct an iterator over elements of list.
iterator() - Method in class structure5.DoublyLinkedList
Construct an iterator to traverse list.
iterator() - Method in interface structure5.Graph
Construct vertex iterator.
iterator() - Method in class structure5.GraphList
Construct vertex iterator.
iterator() - Method in class structure5.GraphMatrix
Construct vertex traversal.
iterator() - Method in class structure5.Hashtable
Returns a traversal that traverses over the values of the hashtable.
iterator() - Method in interface structure5.List
Construct an iterator to traverse elements of list from head to tail, in order.
iterator() - Method in class structure5.OrderedList
Construct an iterator for traversing elements of ordered list in ascending order
iterator() - Method in class structure5.OrderedVector
Construct an iterator to traverse the ordered vector in ascending order
iterator() - Method in class structure5.QueueArray
 
iterator() - Method in class structure5.QueueList
 
iterator() - Method in class structure5.QueueVector
 
iterator() - Method in class structure5.RedBlackSearchTree
Returns an iterator over the red-black search tree.
iterator() - Method in class structure5.RedBlackTree
Returns an in-order iterator over the subtree rooted at this node.
iterator() - Method in class structure5.SetList
Construct an traversal to traverse the elements of the set.
iterator() - Method in class structure5.SetVector
Construct an traversal to traverse the elements of the set.
iterator() - Method in class structure5.SinglyLinkedList
Returns an iterator traversing list from head to tail.
iterator() - Method in class structure5.SplayTree
Construct an inorder traversal of the elements in the splay tree.
iterator() - Method in class structure5.StackArray
 
iterator() - Method in class structure5.StackList
 
iterator() - Method in class structure5.StackVector
 
iterator() - Method in class structure5.StructCollection
Return an iterator to traverse the subordinate structure.
iterator() - Method in interface structure5.Structure
Returns an iterator for traversing the structure.
iterator() - Method in class structure5.Table
Construct an iterator over the values of the table.
iterator() - Method in class structure5.Vector
Construct a iterator over the elements of the vector.

K

keys() - Method in class structure5.ChainedHashtable
Get an iterator over the keys of the hashtable.
keys() - Method in class structure5.Hashtable
Get a traversal over the keys of the hashtable.
keys() - Method in class structure5.Table
Construct an iterator over the keys of the table.
keySet() - Method in class structure5.ChainedHashtable
 
keySet() - Method in class structure5.Hashtable
 
keySet() - Method in interface structure5.Map
 
keySet() - Method in class structure5.MapList
 
keySet() - Method in class structure5.Table
Return a set containing the keys referenced by this data structure.

L

label() - Method in class structure5.Edge
Get label associated with edge.
lastElement() - Method in class structure5.Vector
Fetch a reference to the last value in the vector.
lastIndexOf(E) - Method in class structure5.CircularList
Determine last location of a value in list.
lastIndexOf(E) - Method in class structure5.DoublyLinkedList
Determine last location of a value in list.
lastIndexOf(E) - Method in interface structure5.List
Determine last location of a value in list.
lastIndexOf(E) - Method in class structure5.SinglyLinkedList
Determine last location of a value in list.
lastIndexOf(E) - Method in class structure5.Vector
Search for the last occurrence of a value within the vector.
lastIndexOf(E, int) - Method in class structure5.Vector
Find the index of the last occurrence of the value in the vector before the indexth position.
left() - Method in class structure5.BinaryTree
Get left subtree of current node
levelorderIterator() - Method in class structure5.BinaryTree
Method to return a level-order iterator of subtree
Linear<E> - Interface in structure5
An interface describing the behavior of linear data structures, structures that that have completely determined add and remove methods.
List<E> - Interface in structure5
Interface describing lists.

M

main(String[]) - Static method in class structure5.ArrayIterator
test code to prove that iterators are slower than for loops
main(String[]) - Static method in class structure5.FileStream
 
main(String[]) - Static method in class structure5.GraphList
 
main(String[]) - Static method in class structure5.SetVector
 
main(String[]) - Static method in class structure5.SkewHeap
 
main(String[]) - Static method in class structure5.Table
 
main(String[]) - Static method in class structure5.Version
 
Map<K,V> - Interface in structure5
Associations establish a link between a key and a value.
MapList<K,V> - Class in structure5
Associations establish a link between a key and a value.
MapList() - Constructor for class structure5.MapList
Construct an empty map, based on a list
MapList(Map<K, V>) - Constructor for class structure5.MapList
Construct a map with values found in source
mark(int) - Method in class structure5.FileStream
 
markSupported() - Method in class structure5.FileStream
 
Matrix<E> - Class in structure5
An implementation of rectangular vectors.
Matrix() - Constructor for class structure5.Matrix
Construct an empty matrix.
Matrix(int, int) - Constructor for class structure5.Matrix
Constructs a matrix such that all values are null.
merge(MergeableHeap<E>) - Method in interface structure5.MergeableHeap
Merge this heap with otherHeap, destroying otherHeap in the process.
merge(MergeableHeap<E>) - Method in class structure5.SkewHeap
Merge this heap with another
MergeableHeap<E extends Comparable<E>> - Interface in structure5
Interface describing mergeable min heaps.

N

name - Static variable in class structure5.Version
 
NaturalComparator<E extends Comparable<E>> - Class in structure5
Implementation of the Comparator interface that provides a NaturalComparator.compare(E, E) method that compares two objects using those objects default compareTo methods.
NaturalComparator() - Constructor for class structure5.NaturalComparator
 
neighbors(V) - Method in interface structure5.Graph
Construct an adjacent vertex iterator.
neighbors(V) - Method in class structure5.GraphList
Construct an adjacent vertex iterator.
neighbors(V) - Method in class structure5.GraphMatrix
Construct an adjacent vertex traversal.
next() - Method in class structure5.AbstractIterator
Moves, bumps, or "increments" the iterator along the traversal; returns the next value considered.
next() - Method in class structure5.ArrayIterator
Return the next object in our iteration and advance the iterator to the next object in the iteration.
next() - Method in class structure5.DoublyLinkedListElement
Access the reference to the next value.
next() - Method in class structure5.DoublyLinkedListIterator
Returns reference to the current element, then increments iterator.
next() - Method in class structure5.SinglyLinkedListElement
 
nextElement() - Method in class structure5.AbstractIterator
An Enumeration method that is equivalent to AbstractIterator.next().

O

OrderedList<E extends Comparable<E>> - Class in structure5
A class that implements a collection of values that are kept in order.
OrderedList() - Constructor for class structure5.OrderedList
Construct an empty ordered list
OrderedList(Comparator<? super E>) - Constructor for class structure5.OrderedList
Construct an empty ordered list with alternative ordering
OrderedMap<K,V> - Interface in structure5
An interface the supports a Map whose values are kept in increasing order.
OrderedStructure<K> - Interface in structure5
An interface that supports a Collection whose values are kept in increasing order.
OrderedVector<E extends Comparable<E>> - Class in structure5
Implementation of an ordered structure implemented using a vector.
OrderedVector() - Constructor for class structure5.OrderedVector
Construct an empty ordered vector

P

parent() - Method in class structure5.BinaryTree
Get reference to parent of this node
peek() - Method in class structure5.AbstractQueue
Fetch the value at the head of the queue.
peek() - Method in class structure5.AbstractStack
Fetch a reference to the top element of the stack.
peek() - Method in interface structure5.Queue
Fetch the value at the head of the queue.
peek() - Method in interface structure5.Stack
Fetch a reference to the top element of the stack.
pop() - Method in class structure5.AbstractStack
Remove an element from the top of the stack.
pop() - Method in interface structure5.Stack
Remove an element from the top of the stack.
post(boolean, String) - Static method in class structure5.Assert
Test a postcondition.
postorderIterator() - Method in class structure5.BinaryTree
Return an iterator to traverse the elements of subtree in post-order
pre(boolean, String) - Static method in class structure5.Assert
Test a precondition.
preorderIterator() - Method in class structure5.BinaryTree
Return an iterator to traverse nodes of subtree in-order
previous() - Method in class structure5.DoublyLinkedListElement
Get a reference to the previous element of the list.
print() - Method in class structure5.RedBlackTree
 
PriorityQueue<E extends Comparable<E>> - Interface in structure5
Interface describing an queue of prioritized values.
PriorityVector<E extends Comparable<E>> - Class in structure5
A vector-based implementation of a priority queue.
PriorityVector() - Constructor for class structure5.PriorityVector
Construct an empty priority queue.
push(E) - Method in class structure5.AbstractStack
Add an element from the top of the stack.
push(E) - Method in interface structure5.Stack
Add an element to top of stack.
pushbackChar(char) - Method in class structure5.ReadStream
Return character to input stream for reading at later time.
put(K, V) - Method in class structure5.ChainedHashtable
Place a key-value pair within the table.
put(K, V) - Method in class structure5.Hashtable
Place a key-value pair within the table.
put(K, V) - Method in interface structure5.Map
 
put(K, V) - Method in class structure5.MapList
 
put(K, V) - Method in class structure5.Table
Enter a key-value pair into the table.
putAll(Map<K, V>) - Method in class structure5.AbstractMap
 
putAll(Map<K, V>) - Method in class structure5.Hashtable
Put all of the values found in another map into this map, overriding previous key-value associations.
putAll(Map<K, V>) - Method in interface structure5.Map
 
putAll(Map<K, V>) - Method in class structure5.MapList
 

Q

Queue<E> - Interface in structure5
Interface describing a first-in, first-out structure.
QueueArray<E> - Class in structure5
An implementation of queues based on arrays.
QueueArray(int) - Constructor for class structure5.QueueArray
Construct a queue holding at most size elements.
QueueList<E> - Class in structure5
An implementation of queues based on circular lists.
QueueList() - Constructor for class structure5.QueueList
Construct a new queue with no data.
QueueVector<E> - Class in structure5
An implementation of queues based on vectors.
QueueVector() - Constructor for class structure5.QueueVector
Construct an empty queue
QueueVector(int) - Constructor for class structure5.QueueVector
Constructs an empty queue with an initial allocation of size.

R

read() - Method in class structure5.Clock
Read the value on the stop watch.
read() - Method in class structure5.FileStream
 
readBoolean() - Method in class structure5.ReadStream
Read the next word "true" or "false" as a boolean.
readChar() - Method in class structure5.ReadStream
Read next character, whitespace or not.
readDouble() - Method in class structure5.ReadStream
Reads the next double value from input stream.
readFloat() - Method in class structure5.ReadStream
Read floating point value from input (Currently not working).
readFully(byte[]) - Method in class structure5.ReadStream
Read an array of bytes from input.
readFully(byte[], int, int) - Method in class structure5.ReadStream
Read input into byte array.
readInt() - Method in class structure5.ReadStream
Reads an integer from input stream.
readLine() - Method in class structure5.ReadStream
Read the remainder of line, including end-of-line mark.
readln() - Method in class structure5.ReadStream
Read characters up to and including the end-of-line mark.
readLong() - Method in class structure5.ReadStream
Read a (potentially long) input.
readShort() - Method in class structure5.ReadStream
Reads an integer from input stream.
ReadStream - Class in structure5
A ReadStream provides reasonable access to the typewritten data on an input stream.
ReadStream() - Constructor for class structure5.ReadStream
Construct an empty ReadStream, obtaining info from System.in.
ReadStream(InputStream) - Constructor for class structure5.ReadStream
Construct a ReadStream based on pre-existing input stream.
readString() - Method in class structure5.ReadStream
Skip white space and read in the next non-whitespace word as a string.
readUTF() - Method in class structure5.ReadStream
Read unicode from input.
RedBlackSearchTree<E extends Comparable<E>> - Class in structure5
Red black trees, are binary trees that guarantee the following three properties.
RedBlackSearchTree() - Constructor for class structure5.RedBlackSearchTree
Constructs a red-black search tree with no data
RedBlackTree<E extends Comparable<E>> - Class in structure5
This class implements a single node of a red-black tree.
RedBlackTree() - Constructor for class structure5.RedBlackTree
A one-time constructor, for constructing empty trees.
RedBlackTree(E) - Constructor for class structure5.RedBlackTree
Constructs a red-black tree with no children, value of the node is provided by the user
redFixup() - Method in class structure5.RedBlackTree
Takes a red node and, restores the red nodes of the tree to maintain red-black properties if this node has a red parent.
remove() - Method in class structure5.AbstractIterator
If implemented, removes the currently visited value from the structure.
remove(E) - Method in class structure5.AbstractLinear
Removes value from the linear structure.
remove() - Method in class structure5.AbstractList
Removes value from tail of list.
remove() - Method in class structure5.AbstractListIterator
 
remove(E) - Method in class structure5.BinarySearchTree
Remove an value "equals to" the indicated value.
remove(int) - Method in class structure5.BitSet
Remove bit i from the bitset.
remove(K) - Method in class structure5.ChainedHashtable
Remove a key-value pair from the table.
remove(char) - Method in class structure5.CharSet
Removes a character from set.
remove(E) - Method in class structure5.CircularList
Remove a value from a list.
remove(int) - Method in class structure5.CircularList
Remove and return value at location i.
remove(E) - Method in class structure5.DoublyLinkedList
Remove a value from list.
remove(int) - Method in class structure5.DoublyLinkedList
Remove and return value at location i.
remove(V) - Method in interface structure5.Graph
Remove a vertex from the graph.
remove(V) - Method in class structure5.GraphList
Remove a vertex from the graph.
remove(V) - Method in class structure5.GraphListDirected
Remove a vertex from the graph.
remove(V) - Method in class structure5.GraphListUndirected
Remove a vertex from the graph.
remove(V) - Method in class structure5.GraphMatrix
Remove a vertex from the graph.
remove(K) - Method in class structure5.Hashtable
Remove a key-value pair from the table.
remove() - Method in interface structure5.Linear
Remove a value from the structure.
remove(E) - Method in interface structure5.List
Remove a value from list.
remove() - Method in interface structure5.List
Removes value from tail of list.
remove(int) - Method in interface structure5.List
Remove and return value at location i.
remove(K) - Method in interface structure5.Map
 
remove(K) - Method in class structure5.MapList
 
remove(E) - Method in class structure5.OrderedList
Remove a value from the ordered list.
remove(E) - Method in class structure5.OrderedVector
Remove a comparable value from an ordered vector At most one value is removed
remove() - Method in interface structure5.PriorityQueue
Returns the minimum value from the queue.
remove() - Method in class structure5.PriorityVector
Remove the smallest value of the structure.
remove() - Method in interface structure5.Queue
Remove a value form the head of the queue.
remove() - Method in class structure5.QueueArray
Remove a value from the head of the queue.
remove() - Method in class structure5.QueueList
Remove a value from the head of the queue.
remove() - Method in class structure5.QueueVector
Remove a value from the head of the queue
remove(E) - Method in class structure5.RedBlackSearchTree
Remove an value "equals to" the indicated value.
remove(E) - Method in class structure5.RedBlackTree
Remove an value "equals to" the indicated value.
remove(E) - Method in class structure5.SetList
Remove an element from the set.
remove(E) - Method in class structure5.SetVector
Remove an element from the set.
remove(E) - Method in class structure5.SinglyLinkedList
Remove a value from list.
remove(int) - Method in class structure5.SinglyLinkedList
Remove and return value at location i.
remove() - Method in class structure5.SkewHeap
Returns the minimum value from the queue.
remove(E) - Method in class structure5.SplayTree
Remove a comparable value from the tree.
remove() - Method in interface structure5.Stack
Remove an element from the top of the stack.
remove() - Method in class structure5.StackArray
Remove a value from the top of the stack.
remove() - Method in class structure5.StackList
Remove a value from the top of the stack.
remove() - Method in class structure5.StackVector
Remove an element from the top of the stack.
remove(Object) - Method in class structure5.StructCollection
Removes an instance of object o, if it appears within structure.
remove(E) - Method in interface structure5.Structure
Removes value from the structure.
remove(K) - Method in class structure5.Table
Remove a key-value pair, based on key.
remove(E) - Method in class structure5.Vector
Remove an element, by value, from vector.
remove(int) - Method in class structure5.Vector
Remove an element at a particular location.
remove() - Method in class structure5.VectorHeap
Returns the minimum value from the queue.
removeAll(Structure<E>) - Method in class structure5.AbstractSet
Computes the difference between this set and the other structure
removeAll(Structure<E>) - Method in interface structure5.Set
Computes the difference between this set and the other structure
removeAll(Structure<E>) - Method in class structure5.SetList
Compute the difference between two sets.
removeAll(Structure<E>) - Method in class structure5.SetVector
Compute the difference between two sets.
removeAll(Collection<?>) - Method in class structure5.StructCollection
Removes all objects found within collection c from this collection.
removeAllElements() - Method in class structure5.Vector
Remove all the elements of the vector.
removeCol(int) - Method in class structure5.Matrix
Remove a column, whose index is c.
removeEdge(V, V) - Method in interface structure5.Graph
Remove possible edge between vertices labeled vLabel1 and vLabel2.
removeEdge(V, V) - Method in class structure5.GraphList
Remove possible edge between vertices labeled vLabel1 and vLabel2.
removeEdge(V, V) - Method in class structure5.GraphListDirected
Remove possible edge between vertices labeled vLabel1 and vLabel2.
removeEdge(V, V) - Method in class structure5.GraphListUndirected
Remove possible edge between vertices labeled vLabel1 and vLabel2.
removeEdge(V, V) - Method in class structure5.GraphMatrix
Remove possible edge between vertices labeled vLabel1 and vLabel2.
removeEdge(V, V) - Method in class structure5.GraphMatrixDirected
Remove possible edge between vertices labeled vLabel1 and vLabel2.
removeEdge(V, V) - Method in class structure5.GraphMatrixUndirected
Remove possible edge between vertices labeled vLabel1 and vLabel2.
removeElementAt(int) - Method in class structure5.Vector
Remove an element at a particular location.
removeFirst() - Method in class structure5.AbstractList
Remove a value from first element of list.
removeFirst() - Method in class structure5.CircularList
Remove a value from head of list.
removeFirst() - Method in class structure5.DoublyLinkedList
Remove a value from head of list.
removeFirst() - Method in interface structure5.List
Remove a value from first element of list.
removeFirst() - Method in class structure5.SinglyLinkedList
Remove a value from first element of list.
removeLast() - Method in class structure5.AbstractList
Remove last value from list.
removeLast() - Method in class structure5.CircularList
Remove a value from tail of list.
removeLast() - Method in class structure5.DoublyLinkedList
Remove a value from tail of list.
removeLast() - Method in interface structure5.List
Remove last value from list.
removeLast() - Method in class structure5.SinglyLinkedList
Remove last value from list.
removeRow(int) - Method in class structure5.Matrix
Remove the row whose index is r.
reserve() - Method in class structure5.HashAssociation
 
reserved() - Method in class structure5.HashAssociation
 
reset() - Method in class structure5.AbstractIterator
Reset iterator to the beginning of the structure.
reset() - Method in class structure5.ArrayIterator
Return the iteration to the original state specified by the constructor.
reset() - Method in class structure5.Clock
Resets the time on the clock to zero.
reset() - Method in class structure5.DoublyLinkedListIterator
Reset the iterator to the head of the list.
reset() - Method in class structure5.Edge
Clear the visited flag associated with edge.
reset() - Method in class structure5.FileStream
 
reset() - Method in interface structure5.Graph
Clear visited flags of edges and vertices.
reset() - Method in class structure5.GraphList
Clear visited flags of edges and vertices.
reset() - Method in class structure5.GraphMatrix
Clear visited flags of edges and vertices.
retainAll(Structure<E>) - Method in class structure5.AbstractSet
Computes the intersection between this set and the other structure.
retainAll(Structure<E>) - Method in interface structure5.Set
Computes the intersection between this set and the other structure.
retainAll(Structure<E>) - Method in class structure5.SetList
Compute the intersection of this set and other.
retainAll(Structure<E>) - Method in class structure5.SetVector
Compute the intersection of this set and other.
retainAll(Collection<?>) - Method in class structure5.StructCollection
Retains elements of this Collection that are also in c.
ReverseComparator<E extends Comparable<E>> - Class in structure5
Implementation of the Comparator interface that provides a Comparator.compare(Object,Object) method that compares two objects using those objects default compareTo methods.
ReverseComparator() - Constructor for class structure5.ReverseComparator
Construct a comparator that generates reverse natural comparison
ReverseComparator(Comparator<E>) - Constructor for class structure5.ReverseComparator
Construct a comparator that generates reverse of another comparator
right() - Method in class structure5.BinaryTree
Get right subtree of current node
root() - Method in class structure5.BinaryTree
Returns reference to root of tree containing n

S

set(E) - Method in class structure5.AbstractListIterator
 
set(int, E) - Method in class structure5.CircularList
Set value stored at location i to object o, returning old value.
set(int, E) - Method in class structure5.DoublyLinkedList
Set value stored at location i to object o, returning old value.
set(int, E) - Method in interface structure5.List
Set value stored at location i to object o, returning old value.
set(int, int, E) - Method in class structure5.Matrix
Change the value at location (row, col)
Set<E> - Interface in structure5
Implementation of a set of elements.
set(int, E) - Method in class structure5.SinglyLinkedList
Set value stored at location i to object o, returning old value.
set(int, E) - Method in class structure5.Vector
Change the value stored at location index.
setElementAt(E, int) - Method in class structure5.Vector
Change the value stored at location index.
setLabel(E) - Method in class structure5.Edge
Sets the label associated with the edge.
setLeft(BinaryTree<E>) - Method in class structure5.BinaryTree
Update the left subtree of this node.
SetList<E> - Class in structure5
Implementation of a set of elements using a list as the underlying storage mechanism.
SetList() - Constructor for class structure5.SetList
Construct a new set list.
setNext(DoublyLinkedListElement<E>) - Method in class structure5.DoublyLinkedListElement
Set reference to the next element.
setNext(SinglyLinkedListElement<E>) - Method in class structure5.SinglyLinkedListElement
Update the next element.
setPrevious(DoublyLinkedListElement<E>) - Method in class structure5.DoublyLinkedListElement
Set the reference to the previous element.
setRight(BinaryTree<E>) - Method in class structure5.BinaryTree
Update the right subtree of this node.
setSize(int) - Method in class structure5.Vector
Explicitly set the size of the array.
setValue(V) - Method in class structure5.Association
Sets the value of the key-value pair.
setValue(E) - Method in class structure5.BinaryTree
Set's value associated with this node
setValue(E) - Method in class structure5.DoublyLinkedListElement
Set the value of the element.
setValue(V) - Method in class structure5.Entry
Sets the value of the key-value pair.
setValue(V) - Method in class structure5.HashAssociation
 
setValue(E) - Method in class structure5.SinglyLinkedListElement
Set the value associated with this element.
SetVector<E> - Class in structure5
Implementation of a set of elements using a vector as the underlying storage mechanism.
SetVector() - Constructor for class structure5.SetVector
Construct a new set.
SetVector(Structure<E>) - Constructor for class structure5.SetVector
Construct a new set from another structure.
SinglyLinkedList<E> - Class in structure5
An implementation of lists using singly linked elements, similar to that of java.util.LinkedList.
SinglyLinkedList() - Constructor for class structure5.SinglyLinkedList
Construct an empty list.
SinglyLinkedListElement<E> - Class in structure5
A class supporting a singly linked list element.
SinglyLinkedListElement(E, SinglyLinkedListElement<E>) - Constructor for class structure5.SinglyLinkedListElement
Construct a singly linked list element.
SinglyLinkedListElement(E) - Constructor for class structure5.SinglyLinkedListElement
Constructs a singly linked list element not associated with any list.
size() - Method in class structure5.BinarySearchTree
Determines the number of data values within the tree
size() - Method in class structure5.BinaryTree
Returns the number of descendants of node
size() - Method in class structure5.ChainedHashtable
Computes the number of elements stored within the hashtable.
size() - Method in class structure5.CircularList
Determine size of list.
size() - Method in class structure5.DoublyLinkedList
Determine number of elements in list.
size() - Method in interface structure5.Graph
Determine number of vertices within graph.
size() - Method in class structure5.GraphList
Determine number of vertices within graph.
size() - Method in class structure5.GraphMatrix
Determine number of vertices within graph.
size() - Method in class structure5.Hashtable
Return the number of key-value pairs within the table.
size() - Method in interface structure5.Linear
Returns the number of elements in the linear structure.
size() - Method in interface structure5.List
Determine size of list.
size() - Method in interface structure5.Map
 
size() - Method in class structure5.MapList
Returns the number of entries in the map
size() - Method in class structure5.OrderedList
Determine the number of elements in the list
size() - Method in class structure5.OrderedVector
Determine the number of elements within the ordered vector
size() - Method in interface structure5.PriorityQueue
Determine the size of the queue.
size() - Method in class structure5.PriorityVector
Determine the size of the priority queue.
size() - Method in interface structure5.Queue
Returns the number of elements in the queue.
size() - Method in class structure5.QueueArray
Determine the number of elements within the queue
size() - Method in class structure5.QueueList
Determine the number of elements within the queue.
size() - Method in class structure5.QueueVector
Determine the number of elements within the queue.
size() - Method in class structure5.RedBlackSearchTree
Determines the number of data values within the tree
size() - Method in class structure5.SetList
Determine the number of elements in the set.
size() - Method in class structure5.SetVector
Determine the number of elements in the set.
size() - Method in class structure5.SinglyLinkedList
Determine number of elements in list.
size() - Method in class structure5.SkewHeap
Determine the size of the queue.
size() - Method in interface structure5.Stack
Returns the number of elements in the stack.
size() - Method in class structure5.StackArray
Determine the number of elements in the stack.
size() - Method in class structure5.StackList
Determine the number of elements in the stack.
size() - Method in class structure5.StackVector
Determine the number of elements in stack.
size() - Method in class structure5.StructCollection
Determine the number of elements in this collection.
size() - Method in interface structure5.Structure
Determine the size of the structure.
size() - Method in class structure5.Table
Determine the number of key-value pairs within the table.
size() - Method in class structure5.Vector
Determine the number of elements in the vector.
size() - Method in class structure5.VectorHeap
Determine the size of the queue.
SkewHeap<E extends Comparable<E>> - Class in structure5
An implementation of a priority queue using skew heaps.
SkewHeap() - Constructor for class structure5.SkewHeap
Constructs an empty priority queue.
skip(long) - Method in class structure5.FileStream
 
skipWhite() - Method in class structure5.ReadStream
Consume all the white-space characters until EOF or other data.
SplayTree<E extends Comparable<E>> - Class in structure5
An implementation of binary search trees, based on a splay operation by Tarjan et al.
SplayTree() - Constructor for class structure5.SplayTree
Construct an empty search tree.
SplayTree(Comparator<E>) - Constructor for class structure5.SplayTree
Construct an empty search tree.
Stack<E> - Interface in structure5
An interface describing a Last-In, First-Out structure.
StackArray<E> - Class in structure5
An implementation of a stack, based on array.
StackArray(int) - Constructor for class structure5.StackArray
Construct a stack capable of holding at least size elements.
StackList<E> - Class in structure5
An implementation of a stack, based on lists.
StackList() - Constructor for class structure5.StackList
Construct an empty stack.
StackVector<E> - Class in structure5
An implementation of a stack, based on extensible arrays.
StackVector() - Constructor for class structure5.StackVector
Construct an empty stack.
StackVector(int) - Constructor for class structure5.StackVector
Construct a stack with initial capacity Vector will grow if the stack fills vector.
start() - Method in class structure5.Clock
Start the clock running.
stop() - Method in class structure5.Clock
Stop the clock.
StructCollection<E> - Class in structure5
This utility class converts a Structure to a Collection.
StructCollection(Structure<E>) - Constructor for class structure5.StructCollection
Constructs a Collection, based on the contents of the subordinate Structure object.
Structure<E> - Interface in structure5
The interface of a basic, mutable data structure.
structure5 - package structure5
 
subset(BitSet) - Method in class structure5.BitSet
Returns true iff this set is a subset of the other.
subset(CharSet) - Method in class structure5.CharSet
Detects if this set within the other.

T

Table<K extends Comparable<K>,V> - Class in structure5
An implementation of an ordered dictionary.
Table() - Constructor for class structure5.Table
Construct a new, empty table.
Table(Table<K, V>) - Constructor for class structure5.Table
 
there() - Method in class structure5.Edge
Returns the second vertex (or source if undirected).
toArray() - Method in class structure5.StructCollection
Construct an array of values found in the subordinate Structure.
toArray(T[]) - Method in class structure5.StructCollection
Copy elements of this structure into target array.
toString() - Method in class structure5.Association
Standard string representation of an association.
toString() - Method in class structure5.BinarySearchTree
Returns a string representing tree
toString() - Method in class structure5.BinaryTree
Returns a representation the subtree rooted at this node
toString() - Method in class structure5.BitSet
Constructs string representing set.
toString() - Method in class structure5.ChainedHashtable
Generate a string representation of the chained hash table.
toString() - Method in class structure5.CharSet
Compute String representation of charset.
toString() - Method in class structure5.CircularList
Generate a string representation of list.
toString() - Method in class structure5.Clock
Generates string representation of clock.
toString() - Method in class structure5.ComparableAssociation
Construct a string representation of the ComparableAssociation.
toString() - Method in class structure5.ComparableEdge
Construct a string representation of edge.
toString() - Method in class structure5.DoublyLinkedList
Construct a string representation of list.
toString() - Method in class structure5.DoublyLinkedListElement
Construct a string representation of the element.
toString() - Method in class structure5.Edge
Construct a string representation of edge.
toString() - Method in class structure5.Entry
Standard string representation of an association.
toString() - Method in class structure5.GraphListDirected
Construct a string representation of graph.
toString() - Method in class structure5.GraphListUndirected
Construct a string representation of graph.
toString() - Method in class structure5.GraphMatrixDirected
Construct a string representation of graph.
toString() - Method in class structure5.GraphMatrixUndirected
Construct a string representation of graph.
toString() - Method in class structure5.HashAssociation
 
toString() - Method in class structure5.Hashtable
Generate a string representation of the hash table.
toString() - Method in class structure5.Matrix
Construct a string representation of the matrix.
toString() - Method in class structure5.OrderedList
Generate string representation of the ordered list
toString() - Method in class structure5.OrderedVector
Construct a string representation of an ordered vector
toString() - Method in class structure5.PriorityVector
Construct a string representation of the priority vector.
toString() - Method in class structure5.QueueArray
Construct a string representation of the queue.
toString() - Method in class structure5.QueueList
Construct a string representation of the queue.
toString() - Method in class structure5.QueueVector
Construct a string representation of the queue.
toString() - Method in class structure5.RedBlackSearchTree
Returns a string representing tree
toString() - Method in class structure5.RedBlackTree
Returns string representation of red-black tree.
toString() - Method in class structure5.SetList
Construct a string representation of the set.
toString() - Method in class structure5.SetVector
Construct a string representation of the set.
toString() - Method in class structure5.SinglyLinkedList
Construct a string representing list.
toString() - Method in class structure5.SinglyLinkedListElement
Construct a string representation of element.
toString() - Method in class structure5.SkewHeap
Construct a string representation of the heap.
toString() - Method in class structure5.SplayTree
Construct a string that represents the splay tree.
toString() - Method in class structure5.StackArray
Construct a string representation of the stack.
toString() - Method in class structure5.StackList
Construct a string representation of the stack.
toString() - Method in class structure5.StackVector
Construct a string representation of stack.
toString() - Method in class structure5.StructCollection
Construct a string representation of this class.
toString() - Method in class structure5.Table
Construct a string representing value of table.
toString() - Method in class structure5.Vector
Determine a string representation for the vector.
toString() - Method in class structure5.VectorHeap
Construct a string representation of the heap.
treeString() - Method in class structure5.BinarySearchTree
Returns a (possibly long) string representing tree.
treeString() - Method in class structure5.BinaryTree
Returns a string representing the tree rooted at this node.
treeString() - Method in class structure5.RedBlackSearchTree
Returns a (possibly long) string representing tree.
treeString() - Method in class structure5.RedBlackTree
Returns a string representing the tree rooted at this node.
trimToSize() - Method in class structure5.Vector
Trim the vector to exactly the correct size.

U

union(BitSet) - Method in class structure5.BitSet
Compute a new set that is the union of this set and other.
union(CharSet) - Method in class structure5.CharSet
Constructs a charset that is the union of this and other.

V

value() - Method in class structure5.AbstractIterator
Deprecated. This method was deprecated in version 2 of the structure package. Use the get method.
value() - Method in class structure5.BinaryTree
Returns value associated with this node
value() - Method in class structure5.DoublyLinkedListElement
Get value stored within the element.
value() - Method in class structure5.SinglyLinkedListElement
Fetch the value associated with this element.
values() - Method in class structure5.AbstractStructure
Returns a java.util.Collection wrapping this structure.
values() - Method in class structure5.ChainedHashtable
 
values() - Method in class structure5.Hashtable
 
values() - Method in interface structure5.Map
 
values() - Method in class structure5.MapList
 
values() - Method in interface structure5.Structure
Returns a java.util.Collection wrapping this structure.
values() - Method in class structure5.Table
Return a structure containing all the values referenced by this data structure.
Vector<E> - Class in structure5
An implementation of extensible arrays, similar to that of java.util.Vector.
Vector() - Constructor for class structure5.Vector
Construct an empty vector.
Vector(int) - Constructor for class structure5.Vector
Construct an empty vector capable of storing initialCapacity values before the vector must be extended.
Vector(int, int) - Constructor for class structure5.Vector
Construct a vector with initial capacity, and growth characteristic.
Vector(int, int, E) - Constructor for class structure5.Vector
Construct a vector with initial size, growth rate and default value.
Vector(Vector<E>) - Constructor for class structure5.Vector
 
Vector(Collection<E>) - Constructor for class structure5.Vector
 
VectorHeap<E extends Comparable<E>> - Class in structure5
This class implements a priority queue based on a traditional array-based heap.
VectorHeap() - Constructor for class structure5.VectorHeap
Construct a new priority queue
VectorHeap(Vector<E>) - Constructor for class structure5.VectorHeap
Construct a new priority queue from an unordered vector
Version - Class in structure5
A utility class that can be used to determine the version of software currently being used.
Version() - Constructor for class structure5.Version
 
visit() - Method in class structure5.Edge
Test and set visited flag on vertex.
visit(V) - Method in interface structure5.Graph
Test and set visited flag of vertex
visit(V) - Method in class structure5.GraphList
Test and set visited flag of vertex.
visit(V) - Method in class structure5.GraphMatrix
Test and set visited flag of vertex.
visitEdge(Edge<V, E>) - Method in interface structure5.Graph
Test and set visited flag of edge.
visitEdge(Edge<V, E>) - Method in class structure5.GraphList
Test and set visited flag of edge.
visitEdge(Edge<V, E>) - Method in class structure5.GraphMatrix
Test and set visited flag of edge.

W

width() - Method in class structure5.Matrix
Return the width of the matrix.

A B C D E F G H I K L M N O P Q R S T U V W