- AbstractGame - Class in edu.colorado.games
-
- AbstractGame() - Constructor for class edu.colorado.games.AbstractGame
-
- add(E) - Method in class edu.colorado.collections.ArrayBag
-
Add a new element to this bag.
- add(E) - Method in class edu.colorado.collections.ArrayQueue
-
Insert a new item in this queue.
- add(Object) - Method in class edu.colorado.collections.BagWithReceipts
-
Put a reference to an object into this bag.
- add(int) - Method in class edu.colorado.collections.IntArrayBag
-
Add a new element to this bag.
- add(int) - Method in class edu.colorado.collections.IntBalancedSet
-
Add a new element to this set.
- add(int) - Method in class edu.colorado.collections.IntLinkedBag
-
Add a new element to this bag.
- add(int) - Method in class edu.colorado.collections.IntTreeBag
-
Insert a new element into this bag.
- add(E) - Method in class edu.colorado.collections.LinkedBag
-
Put a reference to an object into this bag.
- add(E) - Method in class edu.colorado.collections.LinkedQueue
-
Put a new a new item in this queue.
- addAfter(int) - Method in class edu.colorado.collections.DoubleArraySeq
-
Add a new element to this sequence, after the current element.
- addAfter(int) - Method in class edu.colorado.collections.DoubleLinkedSeq
-
Add a new element to this sequence, after the current element.
- addAfter(Object) - Method in class edu.colorado.collections.LinkedSeq
-
Adds a new element to this sequence, after the current element.
- addAll(ArrayBag<E>) - Method in class edu.colorado.collections.ArrayBag
-
Add the contents of another bag to this bag.
- addAll(DoubleArraySeq) - Method in class edu.colorado.collections.DoubleArraySeq
-
Place the contents of another sequence at the end of this sequence.
- addAll(DoubleLinkedSeq) - Method in class edu.colorado.collections.DoubleLinkedSeq
-
Place the contents of another sequence at the end of this sequence.
- addAll(IntArrayBag) - Method in class edu.colorado.collections.IntArrayBag
-
Add the contents of another bag to this bag.
- addAll(IntLinkedBag) - Method in class edu.colorado.collections.IntLinkedBag
-
Add the contents of another bag to this bag.
- addAll(IntTreeBag) - Method in class edu.colorado.collections.IntTreeBag
-
Add the contents of another bag to this bag.
- addAll(LinkedBag<E>) - Method in class edu.colorado.collections.LinkedBag
-
Add the contents of another bag to this bag.
- addAll(LinkedSeq) - Method in class edu.colorado.collections.LinkedSeq
-
Place the contents of another sequence at the end of this sequence.
- addAll(Statistician) - Method in class edu.colorado.homework.Statistician
-
Add the numbers of another Statistician to this Statistician.
- addBefore(int) - Method in class edu.colorado.collections.DoubleArraySeq
-
Add a new element to this sequence, before the current element.
- addBefore(int) - Method in class edu.colorado.collections.DoubleLinkedSeq
-
Add a new element to this sequence, before the current element.
- addBefore(Object) - Method in class edu.colorado.collections.LinkedSeq
-
Adds a new element to this sequence, before the current element.
- addEdge(int, int) - Method in class edu.colorado.graphs.Graph
-
Add a new edge to this Graph
.
- addMany(E...) - Method in class edu.colorado.collections.ArrayBag
-
Add new elements to this bag.
- addMany(int...) - Method in class edu.colorado.collections.IntArrayBag
-
Add new elements to this bag.
- addMany(int...) - Method in class edu.colorado.collections.IntLinkedBag
-
Add new elements to this bag.
- addNodeAfter(boolean) - Method in class edu.colorado.nodes.BooleanNode
-
Modification method to add a new node after this node.
- addNodeAfter(byte) - Method in class edu.colorado.nodes.ByteNode
-
Modification method to add a new node after this node.
- addNodeAfter(char) - Method in class edu.colorado.nodes.CharNode
-
Modification method to add a new node after this node.
- addNodeAfter(double) - Method in class edu.colorado.nodes.DoubleNode
-
Modification method to add a new node after this node.
- addNodeAfter(float) - Method in class edu.colorado.nodes.FloatNode
-
Modification method to add a new node after this node.
- addNodeAfter(int) - Method in class edu.colorado.nodes.IntNode
-
Modification method to add a new node after this node.
- addNodeAfter(long) - Method in class edu.colorado.nodes.LongNode
-
Modification method to add a new node after this node.
- addNodeAfter(E) - Method in class edu.colorado.nodes.Node
-
Modification method to add a new node after this node.
- addNodeAfter(Object) - Method in class edu.colorado.nodes.ObjectNode
-
Modification method to add a new node after this node.
- addNodeAfter(short) - Method in class edu.colorado.nodes.ShortNode
-
Modification method to add a new node after this node.
- addNumber(double) - Method in class edu.colorado.simulations.Averager
-
Give another number to this Averager
.
- advance() - Method in class edu.colorado.collections.DoubleArraySeq
-
Move forward, so that the current element is now the next element in
this sequence.
- advance() - Method in class edu.colorado.collections.DoubleLinkedSeq
-
Move forward, so that the current element is now the next element in
this sequence.
- advance() - Method in class edu.colorado.collections.LinkedSeq
-
Move forward, so that the current element is now the next element in
the sequence.
- advance(int) - Method in class edu.colorado.simulations.Clock
-
Move this Clock
's time by a given number of minutes.
- alterSize(double) - Method in class edu.colorado.simulations.Organism
-
Change the current size of this Organism
by a given amount.
- AmplifierTest - Class in <Unnamed>
-
- AmplifierTest() - Constructor for class AmplifierTest
-
- amplify(double[], int, int, double) - Static method in class AmplifierTest
-
- Animal - Class in edu.colorado.simulations
-
An Animal
is an Organism
with extra methods that
deal with eating.
- Animal(double, double, double) - Constructor for class edu.colorado.simulations.Animal
-
Construct an Animal
with a specified size, growth rate, and
weekly eating need.
- AnimalGuess - Class in <Unnamed>
-
The AnimalGuess
Java application illustrates the use of
the binary tree node class is a small animal-guessing game.
- AnimalGuess() - Constructor for class AnimalGuess
-
- ArrayBag<E> - Class in edu.colorado.collections
-
An ArrayBag is a generic collection of references to objects.
- ArrayBag() - Constructor for class edu.colorado.collections.ArrayBag
-
Initialize an empty bag with an initial capacity of 10.
- ArrayBag(int) - Constructor for class edu.colorado.collections.ArrayBag
-
Initialize an empty bag with a specified initial capacity.
- ArrayQueue<E> - Class in edu.colorado.collections
-
An ArrayQueue<E>
is a queue of references to E objects.
- ArrayQueue() - Constructor for class edu.colorado.collections.ArrayQueue
-
Initialize an empty queue with an initial capacity of 10.
- ArrayQueue(int) - Constructor for class edu.colorado.collections.ArrayQueue
-
Initialize an empty queue with a specified initial capacity.
- ArrayStack<E> - Class in edu.colorado.collections
-
An ArrayStack
is a generic stack of
references to E
objects.
- ArrayStack() - Constructor for class edu.colorado.collections.ArrayStack
-
Initialize an empty stack with an initial capacity of 10.
- ArrayStack(int) - Constructor for class edu.colorado.collections.ArrayStack
-
Initialize an empty stack with a specified initial capacity.
- AssertExamples - Class in <Unnamed>
-
The AssertExamples Java application demonstrates the Java
assert statement.
- AssertExamples() - Constructor for class AssertExamples
-
- Author - Class in <Unnamed>
-
- Author() - Constructor for class Author
-
- average() - Method in class edu.colorado.simulations.Averager
-
Provide an average of all numbers given to this Averager
.
- AVERAGE_NIBBLES - Static variable in class PondLife
-
- Averager - Class in edu.colorado.simulations
-
An Averager
computes an average of a group of numbers.
- Averager() - Constructor for class edu.colorado.simulations.Averager
-
Initialize an Averager
.
- BagApplet - Class in <Unnamed>
-
- BagApplet() - Constructor for class BagApplet
-
- BagDemonstration - Class in <Unnamed>
-
- BagDemonstration() - Constructor for class BagDemonstration
-
- BagWithReceipts - Class in edu.colorado.collections
-
This class is a homework assignment;
A BagWithReceipts
is a collection of references to Objects.
- BagWithReceipts() - Constructor for class edu.colorado.collections.BagWithReceipts
-
Initialize an empty BagWithReceipts
.
- BasicCalc - Class in <Unnamed>
-
- BasicCalc() - Constructor for class BasicCalc
-
- BearGame - Class in <Unnamed>
-
The BearGame
Java application illustrates the use of
the bears
method that uses recursion to determine whether it is
possible to win a silly game.
- BearGame() - Constructor for class BearGame
-
- bears(int, int, int, int) - Static method in class BearGame
-
Determines whether the goal can be reached in the Teddy Bear game.
- beginningTree() - Static method in class AnimalGuess
-
Construct a small taxonomy tree with four animals.
- BinarySearcher - Class in <Unnamed>
-
The BinarySearcher
Java application runs a small test on the
search
method from Chapter 11 (using a binary search to
find a specified number in an array).
- BinarySearcher() - Constructor for class BinarySearcher
-
- BIRTH_RATE - Static variable in class PondLife
-
- Blob - Class in <Unnamed>
-
- Blob() - Constructor for class Blob
-
- BooleanBTNode - Class in edu.colorado.nodes
-
A BooleanBTNode
provides a node for a binary tree.
- BooleanBTNode(boolean, BooleanBTNode, BooleanBTNode) - Constructor for class edu.colorado.nodes.BooleanBTNode
-
Initialize a BooleanBTNode
with a specified initial data and links
children.
- BooleanLinkedQueue - Class in edu.colorado.collections
-
y*****************************************
A BooleanLinkedQueue
is a queue of boolean values.
- BooleanLinkedQueue() - Constructor for class edu.colorado.collections.BooleanLinkedQueue
-
Initialize an empty queue.
- BooleanLinkedStack - Class in edu.colorado.collections
-
A BooleanLinkedStack
is a stack of references to objects.
- BooleanLinkedStack() - Constructor for class edu.colorado.collections.BooleanLinkedStack
-
Initialize an empty stack.
- BooleanNode - Class in edu.colorado.nodes
-
A BooleanNode provides a node for a linked list with
boolean data in each node.
- BooleanNode(boolean, BooleanNode) - Constructor for class edu.colorado.nodes.BooleanNode
-
Initialize a node with a specified initial data and link to the next
node.
- BooleanQueue - Class in edu.colorado.collections
-
A BooleanQueue
is a queue of boolean values.
- BooleanQueue() - Constructor for class edu.colorado.collections.BooleanQueue
-
Initialize an empty queue with an initial capacity of 10.
- BooleanQueue(int) - Constructor for class edu.colorado.collections.BooleanQueue
-
Initialize an empty queue with a specified initial capacity.
- BooleanSource - Class in edu.colorado.simulations
-
A BooleanSource provides a random sequence of boolean values.
- BooleanSource(double) - Constructor for class edu.colorado.simulations.BooleanSource
-
Initialize a BooleanSource
.
- BooleanStack - Class in edu.colorado.collections
-
A BooleanStack
is a stack of boolean values.
- BooleanStack() - Constructor for class edu.colorado.collections.BooleanStack
-
Initialize an empty stack with an initial capacity of 10.
- BooleanStack(int) - Constructor for class edu.colorado.collections.BooleanStack
-
Initialize an empty stack with a specified initial capacity.
- BTNode<E> - Class in edu.colorado.nodes
-
A BTNode
provides a node for a binary tree.
- BTNode(E, BTNode<E>, BTNode<E>) - Constructor for class edu.colorado.nodes.BTNode
-
Initialize a BTNode
with a specified initial data and links
children.
- ByteBTNode - Class in edu.colorado.nodes
-
A ByteBTNode
provides a node for a binary tree.
- ByteBTNode(byte, ByteBTNode, ByteBTNode) - Constructor for class edu.colorado.nodes.ByteBTNode
-
Initialize a ByteBTNode
with a specified initial data and links
children.
- ByteLinkedQueue - Class in edu.colorado.collections
-
A ByteLinkedQueue
is a queue of byte values.
- ByteLinkedQueue() - Constructor for class edu.colorado.collections.ByteLinkedQueue
-
Initialize an empty queue.
- ByteLinkedStack - Class in edu.colorado.collections
-
A ByteLinkedStack
is a stack of references to objects.
- ByteLinkedStack() - Constructor for class edu.colorado.collections.ByteLinkedStack
-
Initialize an empty stack.
- ByteNode - Class in edu.colorado.nodes
-
A ByteNode provides a node for a linked list with
byte data in each node.
- ByteNode(byte, ByteNode) - Constructor for class edu.colorado.nodes.ByteNode
-
Initialize a node with a specified initial data and link to the next
node.
- ByteQueue - Class in edu.colorado.collections
-
A ByteQueue
is a queue of byte values.
- ByteQueue() - Constructor for class edu.colorado.collections.ByteQueue
-
Initialize an empty queue with an initial capacity of 10.
- ByteQueue(int) - Constructor for class edu.colorado.collections.ByteQueue
-
Initialize an empty queue with a specified initial capacity.
- ByteStack - Class in edu.colorado.collections
-
A ByteStack
is a stack of byte values.
- ByteStack() - Constructor for class edu.colorado.collections.ByteStack
-
Initialize an empty stack with an initial capacity of 10.
- ByteStack(int) - Constructor for class edu.colorado.collections.ByteStack
-
Initialize an empty stack with a specified initial capacity.
- CarWash - Class in <Unnamed>
-
The CarWash
Java application illustrates the use of
the carWashSimulate
method.
- CarWash() - Constructor for class CarWash
-
- carWashSimulate(int, double, int) - Static method in class CarWash
-
Simulate the running of a car washer for a specified amount of time.
- catenation(DoubleArraySeq, DoubleArraySeq) - Static method in class edu.colorado.collections.DoubleArraySeq
-
Create a new sequence that contains all the elements from one sequence
followed by another.
- catenation(DoubleLinkedSeq, DoubleLinkedSeq) - Static method in class edu.colorado.collections.DoubleLinkedSeq
-
Create a new sequence that contains all the elements from one sequence
followed by another.
- celsiusToFahrenheit(double) - Static method in class TemperatureConversion
-
Convert a temperature from Celsius degrees to Fahrenheit degrees.
- ChainedTable - Class in edu.colorado.collections
-
A ChainedTable
is a chained hash table.
- ChainedTable(int) - Constructor for class edu.colorado.collections.ChainedTable
-
Initialize an empty ChainedTable with a specified table size.
- CHARACTER - Static variable in class EvaluateDemonstration
-
- CharBTNode - Class in edu.colorado.nodes
-
A CharBTNode
provides a node for a binary tree.
- CharBTNode(char, CharBTNode, CharBTNode) - Constructor for class edu.colorado.nodes.CharBTNode
-
Initialize a CharBTNode
with a specified initial data and links
children.
- charInput() - Method in class edu.colorado.io.EasyReader
-
Read a character from this EasyReader
.
- charInputLine() - Method in class edu.colorado.io.EasyReader
-
Read a character from a complete line of this EasyReader
.
- CharLinkedQueue - Class in edu.colorado.collections
-
A CharLinkedQueue
is a queue of char values.
- CharLinkedQueue() - Constructor for class edu.colorado.collections.CharLinkedQueue
-
Initialize an empty queue.
- CharLinkedStack - Class in edu.colorado.collections
-
A CharLinkedStack
is a stack of references to objects.
- CharLinkedStack() - Constructor for class edu.colorado.collections.CharLinkedStack
-
Initialize an empty stack.
- CharNode - Class in edu.colorado.nodes
-
A CharNode provides a node for a linked list with
char data in each node.
- CharNode(char, CharNode) - Constructor for class edu.colorado.nodes.CharNode
-
Initialize a node with a specified initial data and link to the next
node.
- charQuery(String) - Method in class edu.colorado.io.EasyReader
-
Print a prompt, then read and return a character from this
EasyReader
.
- CharQueue - Class in edu.colorado.collections
-
A CharQueue
is a queue of char values.
- CharQueue() - Constructor for class edu.colorado.collections.CharQueue
-
Initialize an empty queue with an initial capacity of 10.
- CharQueue(int) - Constructor for class edu.colorado.collections.CharQueue
-
Initialize an empty queue with a specified initial capacity.
- CharStack - Class in edu.colorado.collections
-
A CharStack
is a stack of char values.
- CharStack() - Constructor for class edu.colorado.collections.CharStack
-
Initialize an empty stack with an initial capacity of 10.
- CharStack(int) - Constructor for class edu.colorado.collections.CharStack
-
Initialize an empty stack with a specified initial capacity.
- checkAges(IntArrayBag) - Static method in class BagDemonstration
-
- clear() - Method in class edu.colorado.homework.Statistician
-
Clear this Statistician.
- Clock - Class in edu.colorado.simulations
-
A Clock
object holds one instance of a time value shuch as
9:48 P.M.
- Clock() - Constructor for class edu.colorado.simulations.Clock
-
Construct a Clock
that is initially set to midnight.
- Clock24 - Class in edu.colorado.simulations
-
A Clock24
is a Clock
that provides its hour in
24-hour format (0 to 23) instead of 12-hour format.
- Clock24() - Constructor for class edu.colorado.simulations.Clock24
-
- clone() - Method in class edu.colorado.collections.ArrayBag
-
Generate a copy of this bag.
- clone() - Method in class edu.colorado.collections.ArrayQueue
-
Generate a copy of this queue.
- clone() - Method in class edu.colorado.collections.ArrayStack
-
Generate a copy of this stack.
- clone() - Method in class edu.colorado.collections.BagWithReceipts
-
Generate a copy of this BagWithReceipts
.
- clone() - Method in class edu.colorado.collections.BooleanLinkedQueue
-
Generate a copy of this queue.
- clone() - Method in class edu.colorado.collections.BooleanLinkedStack
-
Generate a copy of this stack.
- clone() - Method in class edu.colorado.collections.BooleanQueue
-
Generate a copy of this queue.
- clone() - Method in class edu.colorado.collections.BooleanStack
-
Generate a copy of this stack.
- clone() - Method in class edu.colorado.collections.ByteLinkedQueue
-
Generate a copy of this queue.
- clone() - Method in class edu.colorado.collections.ByteLinkedStack
-
Generate a copy of this stack.
- clone() - Method in class edu.colorado.collections.ByteQueue
-
Generate a copy of this queue.
- clone() - Method in class edu.colorado.collections.ByteStack
-
Generate a copy of this stack.
- clone() - Method in class edu.colorado.collections.CharLinkedQueue
-
Generate a copy of this queue.
- clone() - Method in class edu.colorado.collections.CharLinkedStack
-
Generate a copy of this stack.
- clone() - Method in class edu.colorado.collections.CharQueue
-
Generate a copy of this queue.
- clone() - Method in class edu.colorado.collections.CharStack
-
Generate a copy of this stack.
- clone() - Method in class edu.colorado.collections.DoubleArraySeq
-
Generate a copy of this sequence.
- clone() - Method in class edu.colorado.collections.DoubleLinkedQueue
-
Generate a copy of this queue.
- clone() - Method in class edu.colorado.collections.DoubleLinkedSeq
-
Generate a copy of this sequence.
- clone() - Method in class edu.colorado.collections.DoubleLinkedStack
-
Generate a copy of this stack.
- clone() - Method in class edu.colorado.collections.DoubleQueue
-
Generate a copy of this queue.
- clone() - Method in class edu.colorado.collections.DoubleStack
-
Generate a copy of this stack.
- clone() - Method in class edu.colorado.collections.FloatLinkedQueue
-
Generate a copy of this queue.
- clone() - Method in class edu.colorado.collections.FloatLinkedStack
-
Generate a copy of this stack.
- clone() - Method in class edu.colorado.collections.FloatQueue
-
Generate a copy of this queue.
- clone() - Method in class edu.colorado.collections.FloatStack
-
Generate a copy of this stack.
- clone() - Method in class edu.colorado.collections.IntArrayBag
-
Generate a copy of this bag.
- clone() - Method in class edu.colorado.collections.IntBalancedSet
-
Generate a copy of this set.
- clone() - Method in class edu.colorado.collections.IntLinkedBag
-
Generate a copy of this bag.
- clone() - Method in class edu.colorado.collections.IntLinkedQueue
-
Generate a copy of this queue.
- clone() - Method in class edu.colorado.collections.IntLinkedStack
-
Generate a copy of this stack.
- clone() - Method in class edu.colorado.collections.IntQueue
-
Generate a copy of this queue.
- clone() - Method in class edu.colorado.collections.IntStack
-
Generate a copy of this stack.
- clone() - Method in class edu.colorado.collections.IntTreeBag
-
Generate a copy of this bag.
- clone() - Method in class edu.colorado.collections.LinkedBag
-
Generate a copy of this bag.
- clone() - Method in class edu.colorado.collections.LinkedQueue
-
Generate a copy of this queue.
- clone() - Method in class edu.colorado.collections.LinkedSeq
-
Generate a copy of this sequence.
- clone() - Method in class edu.colorado.collections.LinkedStack
-
Generate a copy of this stack.
- clone() - Method in class edu.colorado.collections.LongLinkedQueue
-
Generate a copy of this queue.
- clone() - Method in class edu.colorado.collections.LongLinkedStack
-
Generate a copy of this stack.
- clone() - Method in class edu.colorado.collections.LongQueue
-
Generate a copy of this queue.
- clone() - Method in class edu.colorado.collections.LongStack
-
Generate a copy of this stack.
- clone() - Method in class edu.colorado.collections.ObjectLinkedQueue
-
Generate a copy of this queue.
- clone() - Method in class edu.colorado.collections.ObjectLinkedStack
-
Generate a copy of this stack.
- clone() - Method in class edu.colorado.collections.ObjectQueue
-
Generate a copy of this queue.
- clone() - Method in class edu.colorado.collections.ObjectStack
-
Generate a copy of this stack.
- clone() - Method in class edu.colorado.collections.ShortLinkedQueue
-
Generate a copy of this queue.
- clone() - Method in class edu.colorado.collections.ShortLinkedStack
-
Generate a copy of this stack.
- clone() - Method in class edu.colorado.collections.ShortQueue
-
Generate a copy of this queue.
- clone() - Method in class edu.colorado.collections.ShortStack
-
Generate a copy of this stack.
- clone() - Method in class edu.colorado.geometry.Location
-
Generate a copy of this Location.
- clone() - Method in class edu.colorado.graphs.Graph
-
Generate a copy of this Graph
.
- COLUMNS - Static variable in class edu.colorado.games.Connect4
-
- Combine - Class in <Unnamed>
-
- Combine() - Constructor for class Combine
-
- compareTo(Object) - Method in class edu.colorado.simulations.SocialSecurityNumber
-
Compare this SocialSecurityNumber to another.
- concatentation(LinkedSeq, LinkedSeq) - Static method in class edu.colorado.collections.LinkedSeq
-
Create a new sequence that contains all the elements from one sequence
followed by another.
- Connect4 - Class in edu.colorado.games
-
- Connect4() - Constructor for class edu.colorado.games.Connect4
-
- contains(int) - Method in class edu.colorado.collections.IntBalancedSet
-
Accessor method to determine whether a particular element is in this set.
- containsKey(Object) - Method in class edu.colorado.collections.ChainedTable
-
Determines whether a specified key is in this ChainedTable.
- containsKey(Object) - Method in class edu.colorado.collections.Table
-
Determines whether a specified key is in this table.
- Counters - Class in <Unnamed>
-
The Counters Java application tests several methods to count the number
of occurrences of a target in an array.
- Counters() - Constructor for class Counters
-
- countOccurrences(E) - Method in class edu.colorado.collections.ArrayBag
-
Accessor method to count the number of occurrences of a particular element
in this bag.
- countOccurrences(Object) - Method in class edu.colorado.collections.BagWithReceipts
-
Accessor method to count the number of occurrences of a particular element
in this BagWithReceipts
.
- countOccurrences(int) - Method in class edu.colorado.collections.IntArrayBag
-
Accessor method to count the number of occurrences of a particular element
in this bag.
- countOccurrences(int) - Method in class edu.colorado.collections.IntLinkedBag
-
Accessor method to count the number of occurrences of a particular element
in this bag.
- countOccurrences(int) - Method in class edu.colorado.collections.IntTreeBag
-
Accessor method to count the number of occurrences of a particular element
in this bag.
- countOccurrences(E) - Method in class edu.colorado.collections.LinkedBag
-
Accessor method to count the number of occurrences of a particular element
in this bag.
- CuckooClock - Class in edu.colorado.simulations
-
A CuckooClock
is a Clock
that cuckoos when the
minute is zero.
- CuckooClock() - Constructor for class edu.colorado.simulations.CuckooClock
-
- get(Object) - Method in class edu.colorado.collections.ChainedTable
-
Retrieves an object for a specified key.
- get(Object) - Method in class edu.colorado.collections.Table
-
Retrieves an object for a specified key.
- getAges(IntArrayBag) - Static method in class BagDemonstration
-
- getCapacity() - Method in class edu.colorado.collections.ArrayBag
-
Accessor method to get the current capacity of this bag.
- getCapacity() - Method in class edu.colorado.collections.ArrayQueue
-
Accessor method to get the current capacity of this queue.
- getCapacity() - Method in class edu.colorado.collections.ArrayStack
-
Accessor method to get the current capacity of this stack.
- getCapacity() - Method in class edu.colorado.collections.BooleanQueue
-
Accessor method to get the current capacity of this queue.
- getCapacity() - Method in class edu.colorado.collections.BooleanStack
-
Accessor method to get the current capacity of this stack.
- getCapacity() - Method in class edu.colorado.collections.ByteQueue
-
Accessor method to get the current capacity of this queue.
- getCapacity() - Method in class edu.colorado.collections.ByteStack
-
Accessor method to get the current capacity of this stack.
- getCapacity() - Method in class edu.colorado.collections.CharQueue
-
Accessor method to get the current capacity of this queue.
- getCapacity() - Method in class edu.colorado.collections.CharStack
-
Accessor method to get the current capacity of this stack.
- getCapacity() - Method in class edu.colorado.collections.DoubleArraySeq
-
Accessor method to get the current capacity of this sequence.
- getCapacity() - Method in class edu.colorado.collections.DoubleQueue
-
Accessor method to get the current capacity of this queue.
- getCapacity() - Method in class edu.colorado.collections.DoubleStack
-
Accessor method to get the current capacity of this stack.
- getCapacity() - Method in class edu.colorado.collections.FloatQueue
-
Accessor method to get the current capacity of this queue.
- getCapacity() - Method in class edu.colorado.collections.FloatStack
-
Accessor method to get the current capacity of this stack.
- getCapacity() - Method in class edu.colorado.collections.IntArrayBag
-
Accessor method to get the current capacity of this bag.
- getCapacity() - Method in class edu.colorado.collections.IntQueue
-
Accessor method to get the current capacity of this queue.
- getCapacity() - Method in class edu.colorado.collections.IntStack
-
Accessor method to get the current capacity of this stack.
- getCapacity() - Method in class edu.colorado.collections.LongQueue
-
Accessor method to get the current capacity of this queue.
- getCapacity() - Method in class edu.colorado.collections.LongStack
-
Accessor method to get the current capacity of this stack.
- getCapacity() - Method in class edu.colorado.collections.ObjectQueue
-
Accessor method to get the current capacity of this queue.
- getCapacity() - Method in class edu.colorado.collections.ObjectStack
-
Accessor method to get the current capacity of this stack.
- getCapacity() - Method in class edu.colorado.collections.ShortQueue
-
Accessor method to get the current capacity of this queue.
- getCapacity() - Method in class edu.colorado.collections.ShortStack
-
Accessor method to get the current capacity of this stack.
- getCount(String, TreeMap<String, Integer>) - Static method in class WordCounter
-
- getCurrent() - Method in class edu.colorado.collections.DoubleArraySeq
-
Accessor method to get the current element of this sequence.
- getCurrent() - Method in class edu.colorado.collections.DoubleLinkedSeq
-
Accessor method to get the current element of this sequence.
- getCurrent() - Method in class edu.colorado.collections.LinkedSeq
-
Accessor method to determine the current capacity of this sequence.
- getData() - Method in class edu.colorado.nodes.BooleanBTNode
-
Accessor method to get the data from this node.
- getData() - Method in class edu.colorado.nodes.BooleanNode
-
Accessor method to get the data from this node.
- getData() - Method in class edu.colorado.nodes.BTNode
-
Accessor method to get the data from this node.
- getData() - Method in class edu.colorado.nodes.ByteBTNode
-
Accessor method to get the data from this node.
- getData() - Method in class edu.colorado.nodes.ByteNode
-
Accessor method to get the data from this node.
- getData() - Method in class edu.colorado.nodes.CharBTNode
-
Accessor method to get the data from this node.
- getData() - Method in class edu.colorado.nodes.CharNode
-
Accessor method to get the data from this node.
- getData() - Method in class edu.colorado.nodes.DoubleBTNode
-
Accessor method to get the data from this node.
- getData() - Method in class edu.colorado.nodes.DoubleNode
-
Accessor method to get the data from this node.
- getData() - Method in class edu.colorado.nodes.FloatBTNode
-
Accessor method to get the data from this node.
- getData() - Method in class edu.colorado.nodes.FloatNode
-
Accessor method to get the data from this node.
- getData() - Method in class edu.colorado.nodes.IntBTNode
-
Accessor method to get the data from this node.
- getData() - Method in class edu.colorado.nodes.IntNode
-
Accessor method to get the data from this node.
- getData() - Method in class edu.colorado.nodes.LongBTNode
-
Accessor method to get the data from this node.
- getData() - Method in class edu.colorado.nodes.LongNode
-
Accessor method to get the data from this node.
- getData() - Method in class edu.colorado.nodes.Node
-
Accessor method to get the data from this node.
- getData() - Method in class edu.colorado.nodes.ObjectNode
-
Accessor method to get the data from this node.
- getData() - Method in class edu.colorado.nodes.ShortBTNode
-
Accessor method to get the data from this node.
- getData() - Method in class edu.colorado.nodes.ShortNode
-
Accessor method to get the data from this node.
- getFlow() - Method in class edu.colorado.simulations.Throttle
-
Get the current flow of this Throttle.
- getFront() - Method in class edu.colorado.collections.BooleanLinkedQueue
-
Get the front item, removing it from this queue.
- getFront() - Method in class edu.colorado.collections.BooleanQueue
-
Get the front item, removing it from this queue.
- getFront() - Method in class edu.colorado.collections.ByteLinkedQueue
-
Get the front item, removing it from this queue.
- getFront() - Method in class edu.colorado.collections.ByteQueue
-
Get the front item, removing it from this queue.
- getFront() - Method in class edu.colorado.collections.CharLinkedQueue
-
Get the front item, removing it from this queue.
- getFront() - Method in class edu.colorado.collections.CharQueue
-
Get the front item, removing it from this queue.
- getFront() - Method in class edu.colorado.collections.DoubleLinkedQueue
-
Get the front item, removing it from this queue.
- getFront() - Method in class edu.colorado.collections.DoubleQueue
-
Get the front item, removing it from this queue.
- getFront() - Method in class edu.colorado.collections.FloatLinkedQueue
-
Get the front item, removing it from this queue.
- getFront() - Method in class edu.colorado.collections.FloatQueue
-
Get the front item, removing it from this queue.
- getFront() - Method in class edu.colorado.collections.IntLinkedQueue
-
Get the front item, removing it from this queue.
- getFront() - Method in class edu.colorado.collections.IntQueue
-
Get the front item, removing it from this queue.
- getFront() - Method in class edu.colorado.collections.LongLinkedQueue
-
Get the front item, removing it from this queue.
- getFront() - Method in class edu.colorado.collections.LongQueue
-
Get the front item, removing it from this queue.
- getFront() - Method in class edu.colorado.collections.ObjectLinkedQueue
-
Get the front item, removing it from this queue.
- getFront() - Method in class edu.colorado.collections.ObjectQueue
-
Get the front item, removing it from this queue.
- getFront() - Method in class edu.colorado.collections.ShortLinkedQueue
-
Get the front item, removing it from this queue.
- getFront() - Method in class edu.colorado.collections.ShortQueue
-
Get the front item, removing it from this queue.
- getHour() - Method in class edu.colorado.simulations.Clock
-
Get the current hour of this Clock
.
- getHour() - Method in class edu.colorado.simulations.Clock24
-
Get the current hour of this Clock24
, in 24-hour format.
- getLabel(int) - Method in class edu.colorado.graphs.Graph
-
Accessor method to get the label of a vertex of this Graph
.
- getLeft() - Method in class edu.colorado.nodes.BooleanBTNode
-
Accessor method to get a reference to the left child of this node.
- getLeft() - Method in class edu.colorado.nodes.BTNode
-
Accessor method to get a reference to the left child of this node.
- getLeft() - Method in class edu.colorado.nodes.ByteBTNode
-
Accessor method to get a reference to the left child of this node.
- getLeft() - Method in class edu.colorado.nodes.CharBTNode
-
Accessor method to get a reference to the left child of this node.
- getLeft() - Method in class edu.colorado.nodes.DoubleBTNode
-
Accessor method to get a reference to the left child of this node.
- getLeft() - Method in class edu.colorado.nodes.FloatBTNode
-
Accessor method to get a reference to the left child of this node.
- getLeft() - Method in class edu.colorado.nodes.IntBTNode
-
Accessor method to get a reference to the left child of this node.
- getLeft() - Method in class edu.colorado.nodes.LongBTNode
-
Accessor method to get a reference to the left child of this node.
- getLeft() - Method in class edu.colorado.nodes.ShortBTNode
-
Accessor method to get a reference to the left child of this node.
- getLeftmostData() - Method in class edu.colorado.nodes.BooleanBTNode
-
Accessor method to get the data from the leftmost node of the tree below
this node.
- getLeftmostData() - Method in class edu.colorado.nodes.BTNode
-
Accessor method to get the data from the leftmost node of the tree below
this node.
- getLeftmostData() - Method in class edu.colorado.nodes.ByteBTNode
-
Accessor method to get the data from the leftmost node of the tree below
this node.
- getLeftmostData() - Method in class edu.colorado.nodes.CharBTNode
-
Accessor method to get the data from the leftmost node of the tree below
this node.
- getLeftmostData() - Method in class edu.colorado.nodes.DoubleBTNode
-
Accessor method to get the data from the leftmost node of the tree below
this node.
- getLeftmostData() - Method in class edu.colorado.nodes.FloatBTNode
-
Accessor method to get the data from the leftmost node of the tree below
this node.
- getLeftmostData() - Method in class edu.colorado.nodes.IntBTNode
-
Accessor method to get the data from the leftmost node of the tree below
this node.
- getLeftmostData() - Method in class edu.colorado.nodes.LongBTNode
-
Accessor method to get the data from the leftmost node of the tree below
this node.
- getLeftmostData() - Method in class edu.colorado.nodes.ShortBTNode
-
Accessor method to get the data from the leftmost node of the tree below
this node.
- getLink() - Method in class edu.colorado.nodes.BooleanNode
-
Accessor method to get a reference to the next node after this node.
- getLink() - Method in class edu.colorado.nodes.ByteNode
-
Accessor method to get a reference to the next node after this node.
- getLink() - Method in class edu.colorado.nodes.CharNode
-
Accessor method to get a reference to the next node after this node.
- getLink() - Method in class edu.colorado.nodes.DoubleNode
-
Accessor method to get a reference to the next node after this node.
- getLink() - Method in class edu.colorado.nodes.FloatNode
-
Accessor method to get a reference to the next node after this node.
- getLink() - Method in class edu.colorado.nodes.IntNode
-
Accessor method to get a reference to the next node after this node.
- getLink() - Method in class edu.colorado.nodes.LongNode
-
Accessor method to get a reference to the next node after this node.
- getLink() - Method in class edu.colorado.nodes.Node
-
Accessor method to get a reference to the next node after this node.
- getLink() - Method in class edu.colorado.nodes.ObjectNode
-
Accessor method to get a reference to the next node after this node.
- getLink() - Method in class edu.colorado.nodes.ShortNode
-
Accessor method to get a reference to the next node after this node.
- getMinute() - Method in class edu.colorado.simulations.Clock
-
Get the current minute of this Clock
.
- getNeed() - Method in class edu.colorado.simulations.Animal
-
Determine the amount of food that this Animal
needs each
week.
- getRate() - Method in class edu.colorado.simulations.Organism
-
Get the growth rate of this Organism
.
- getRight() - Method in class edu.colorado.nodes.BooleanBTNode
-
Accessor method to get a reference to the right child of this node.
- getRight() - Method in class edu.colorado.nodes.BTNode
-
Accessor method to get a reference to the right child of this node.
- getRight() - Method in class edu.colorado.nodes.ByteBTNode
-
Accessor method to get a reference to the right child of this node.
- getRight() - Method in class edu.colorado.nodes.CharBTNode
-
Accessor method to get a reference to the right child of this node.
- getRight() - Method in class edu.colorado.nodes.DoubleBTNode
-
Accessor method to get a reference to the right child of this node.
- getRight() - Method in class edu.colorado.nodes.FloatBTNode
-
Accessor method to get a reference to the right child of this node.
- getRight() - Method in class edu.colorado.nodes.IntBTNode
-
Accessor method to get a reference to the right child of this node.
- getRight() - Method in class edu.colorado.nodes.LongBTNode
-
Accessor method to get a reference to the right child of this node.
- getRight() - Method in class edu.colorado.nodes.ShortBTNode
-
Accessor method to get a reference to the right child of this node.
- getRightmostData() - Method in class edu.colorado.nodes.BooleanBTNode
-
Accessor method to get the data from the rightmost node of the tree below
this node.
- getRightmostData() - Method in class edu.colorado.nodes.BTNode
-
Accessor method to get the data from the rightmost node of the tree below
this node.
- getRightmostData() - Method in class edu.colorado.nodes.ByteBTNode
-
Accessor method to get the data from the rightmost node of the tree below
this node.
- getRightmostData() - Method in class edu.colorado.nodes.CharBTNode
-
Accessor method to get the data from the rightmost node of the tree below
this node.
- getRightmostData() - Method in class edu.colorado.nodes.DoubleBTNode
-
Accessor method to get the data from the rightmost node of the tree below
this node.
- getRightmostData() - Method in class edu.colorado.nodes.FloatBTNode
-
Accessor method to get the data from the rightmost node of the tree below
this node.
- getRightmostData() - Method in class edu.colorado.nodes.IntBTNode
-
Accessor method to get the data from the rightmost node of the tree below
this node.
- getRightmostData() - Method in class edu.colorado.nodes.LongBTNode
-
Accessor method to get the data from the rightmost node of the tree below
this node.
- getRightmostData() - Method in class edu.colorado.nodes.ShortBTNode
-
Accessor method to get the data from the rightmost node of the tree below
this node.
- getSize() - Method in class edu.colorado.simulations.Organism
-
Get the current size of this Organism
.
- getWords(ArrayBag<String>, int, String) - Static method in class Author
-
- getX() - Method in class edu.colorado.geometry.Location
-
Get the x coordinate of this Location.
- getY() - Method in class edu.colorado.geometry.Location
-
Get the y coordinate of this Location.
- grab() - Method in class edu.colorado.collections.ArrayBag
-
Accessor method to retrieve a random element from this bag.
- grab() - Method in class edu.colorado.collections.IntLinkedBag
-
Accessor method to retrieve a random element from this bag.
- grab() - Method in class edu.colorado.collections.LinkedBag
-
Accessor method to retrieve a random element from this bag.
- Graph - Class in edu.colorado.graphs
-
A Graph
is a labeled graph with a fixed number of vertices.
- Graph(int) - Constructor for class edu.colorado.graphs.Graph
-
Initialize a Graph
with n
vertices,
no edges, and null labels.
- ignore() - Method in class edu.colorado.io.EasyReader
-
Read and discard one character.
- init() - Method in class BagApplet
-
- init() - Method in class Combine
-
- init() - Method in class Fractal
-
- init() - Method in class TreeExample
-
- init() - Method in class Voyage
-
- INIT_FISH - Static variable in class PondLife
-
- inorderPrint() - Method in class edu.colorado.nodes.BooleanBTNode
-
Uses an inorder traversal to print the data from each node at or below
this node of the binary tree.
- inorderPrint() - Method in class edu.colorado.nodes.BTNode
-
Uses an inorder traversal to print the data from each node at or below
this node of the binary tree.
- inorderPrint() - Method in class edu.colorado.nodes.ByteBTNode
-
Uses an inorder traversal to print the data from each node at or below
this node of the binary tree.
- inorderPrint() - Method in class edu.colorado.nodes.CharBTNode
-
Uses an inorder traversal to print the data from each node at or below
this node of the binary tree.
- inorderPrint() - Method in class edu.colorado.nodes.DoubleBTNode
-
Uses an inorder traversal to print the data from each node at or below
this node of the binary tree.
- inorderPrint() - Method in class edu.colorado.nodes.FloatBTNode
-
Uses an inorder traversal to print the data from each node at or below
this node of the binary tree.
- inorderPrint() - Method in class edu.colorado.nodes.IntBTNode
-
Uses an inorder traversal to print the data from each node at or below
this node of the binary tree.
- inorderPrint() - Method in class edu.colorado.nodes.LongBTNode
-
Uses an inorder traversal to print the data from each node at or below
this node of the binary tree.
- inorderPrint() - Method in class edu.colorado.nodes.ShortBTNode
-
Uses an inorder traversal to print the data from each node at or below
this node of the binary tree.
- inquire(String) - Static method in class Maze
-
Asks a yes/no question and reads the answer.
- insert(boolean) - Method in class edu.colorado.collections.BooleanLinkedQueue
-
Put a new a new item in this queue.
- insert(boolean) - Method in class edu.colorado.collections.BooleanQueue
-
Insert a new item in this queue.
- insert(byte) - Method in class edu.colorado.collections.ByteLinkedQueue
-
Put a new a new item in this queue.
- insert(byte) - Method in class edu.colorado.collections.ByteQueue
-
Insert a new item in this queue.
- insert(char) - Method in class edu.colorado.collections.CharLinkedQueue
-
Put a new a new item in this queue.
- insert(char) - Method in class edu.colorado.collections.CharQueue
-
Insert a new item in this queue.
- insert(double) - Method in class edu.colorado.collections.DoubleLinkedQueue
-
Put a new a new item in this queue.
- insert(double) - Method in class edu.colorado.collections.DoubleQueue
-
Insert a new item in this queue.
- insert(float) - Method in class edu.colorado.collections.FloatLinkedQueue
-
Put a new a new item in this queue.
- insert(float) - Method in class edu.colorado.collections.FloatQueue
-
Insert a new item in this queue.
- insert(int) - Method in class edu.colorado.collections.IntLinkedQueue
-
Put a new a new item in this queue.
- insert(int) - Method in class edu.colorado.collections.IntQueue
-
Insert a new item in this queue.
- insert(long) - Method in class edu.colorado.collections.LongLinkedQueue
-
Put a new a new item in this queue.
- insert(long) - Method in class edu.colorado.collections.LongQueue
-
Insert a new item in this queue.
- insert(Object) - Method in class edu.colorado.collections.ObjectLinkedQueue
-
Put a new a new item in this queue.
- insert(Object) - Method in class edu.colorado.collections.ObjectQueue
-
Insert a new item in this queue.
- insert(short) - Method in class edu.colorado.collections.ShortLinkedQueue
-
Put a new a new item in this queue.
- insert(short) - Method in class edu.colorado.collections.ShortQueue
-
Insert a new item in this queue.
- Insert - Class in <Unnamed>
-
The Insert
Java application illustrates an insertion sort.
- Insert() - Constructor for class Insert
-
- insertionsort(int[], int, int) - Static method in class Insert
-
Sort an array of integers from smallest to largest, using an insertion sort
algorithm.
- instruct() - Static method in class AnimalGuess
-
Print instructions for the animal-guessing game.
- IntArrayBag - Class in edu.colorado.collections
-
An IntArrayBag is a collection of int numbers.
- IntArrayBag() - Constructor for class edu.colorado.collections.IntArrayBag
-
Initialize an empty bag with an initial capacity of 10.
- IntArrayBag(int) - Constructor for class edu.colorado.collections.IntArrayBag
-
Initialize an empty bag with a specified initial capacity.
- IntBalancedSet - Class in edu.colorado.collections
-
This class is a homework assignment;
An IntBalancedSet
is a set of int numbers, stored in a B-tree.
- IntBalancedSet() - Constructor for class edu.colorado.collections.IntBalancedSet
-
Initialize an empty set.
- IntBTNode - Class in edu.colorado.nodes
-
A IntBTNode
provides a node for a binary tree.
- IntBTNode(int, IntBTNode, IntBTNode) - Constructor for class edu.colorado.nodes.IntBTNode
-
Initialize a IntBTNode
with a specified initial data and links
children.
- intInput() - Method in class edu.colorado.io.EasyReader
-
Read an integer from this EasyReader
.
- intInputLine() - Method in class edu.colorado.io.EasyReader
-
Read an integer from a complete line of this EasyReader
.
- IntLinkedBag - Class in edu.colorado.collections
-
An IntLinkedBag is a collection of int numbers.
- IntLinkedBag() - Constructor for class edu.colorado.collections.IntLinkedBag
-
Initialize an empty bag.
- IntLinkedQueue - Class in edu.colorado.collections
-
An IntLinkedQueue
is a queue of int values.
- IntLinkedQueue() - Constructor for class edu.colorado.collections.IntLinkedQueue
-
Initialize an empty queue.
- IntLinkedStack - Class in edu.colorado.collections
-
A IntLinkedStack
is a stack of references to objects.
- IntLinkedStack() - Constructor for class edu.colorado.collections.IntLinkedStack
-
Initialize an empty stack.
- IntNode - Class in edu.colorado.nodes
-
An IntNode provides a node for a linked list with
integer data in each node.
- IntNode(int, IntNode) - Constructor for class edu.colorado.nodes.IntNode
-
Initialize a node with a specified initial data and link to the next
node.
- intQuery(Scanner, String) - Static method in class BearGame
-
Print a prompt, then read and return an integer.
- intQuery(String) - Method in class edu.colorado.io.EasyReader
-
Print a prompt, then read and return an integer from this
EasyReader
.
- IntQueue - Class in edu.colorado.collections
-
An IntQueue
is a queue of int values.
- IntQueue() - Constructor for class edu.colorado.collections.IntQueue
-
Initialize an empty queue with an initial capacity of 10.
- IntQueue(int) - Constructor for class edu.colorado.collections.IntQueue
-
Initialize an empty queue with a specified initial capacity.
- IntStack - Class in edu.colorado.collections
-
An IntStack
is a stack of int values.
- IntStack() - Constructor for class edu.colorado.collections.IntStack
-
Initialize an empty stack with an initial capacity of 10.
- IntStack(int) - Constructor for class edu.colorado.collections.IntStack
-
Initialize an empty stack with a specified initial capacity.
- IntTreeBag - Class in edu.colorado.collections
-
This class is a homework assignment;
An IntTreeBag
is a collection of int numbers.
- IntTreeBag() - Constructor for class edu.colorado.collections.IntTreeBag
-
- is_palindrome(String) - Static method in class Palindrome
-
Determine whether a string is a palindrom.
- isAlive() - Method in class edu.colorado.simulations.Organism
-
Determine whether this Organism
is currently alive.
- isBalanced(String) - Static method in class IsBalancedDemonstration
-
- IsBalancedDemonstration - Class in <Unnamed>
-
- IsBalancedDemonstration() - Constructor for class IsBalancedDemonstration
-
- isBusy() - Method in class edu.colorado.simulations.Washer
-
Determine whether this washer is currently busy.
- isCuckooing() - Method in class edu.colorado.simulations.CuckooClock
-
Check whether this CuckooClock
is currently cuckooing.
- isCurrent() - Method in class edu.colorado.collections.DoubleArraySeq
-
Accessor method to determine whether this sequence has a specified
current element that can be retrieved with the
getCurrent method.
- isCurrent() - Method in class edu.colorado.collections.DoubleLinkedSeq
-
Accessor method to determine whether this sequence has a specified
current element that can be retrieved with the
getCurrent
method.
- isCurrent() - Method in class edu.colorado.collections.LinkedSeq
-
Accessor method to determine whether this sequence has a specified current
element that can be retrieved with the getCurrent
method.
- isEdge(int, int) - Method in class edu.colorado.graphs.Graph
-
Accessor method to determine whether this Graph
contains
a specified edge.
- isEmpty() - Method in class edu.colorado.collections.ArrayQueue
-
Determine whether this queue is empty.
- isEmpty() - Method in class edu.colorado.collections.ArrayStack
-
Determine whether this stack is empty.
- isEmpty() - Method in class edu.colorado.collections.BooleanLinkedQueue
-
Determine whether this queue is empty.
- isEmpty() - Method in class edu.colorado.collections.BooleanLinkedStack
-
Determine whether this stack is empty.
- isEmpty() - Method in class edu.colorado.collections.BooleanQueue
-
Determine whether this queue is empty.
- isEmpty() - Method in class edu.colorado.collections.BooleanStack
-
Determine whether this stack is empty.
- isEmpty() - Method in class edu.colorado.collections.ByteLinkedQueue
-
Determine whether this queue is empty.
- isEmpty() - Method in class edu.colorado.collections.ByteLinkedStack
-
Determine whether this stack is empty.
- isEmpty() - Method in class edu.colorado.collections.ByteQueue
-
Determine whether this queue is empty.
- isEmpty() - Method in class edu.colorado.collections.ByteStack
-
Determine whether this stack is empty.
- isEmpty() - Method in class edu.colorado.collections.CharLinkedQueue
-
Determine whether this queue is empty.
- isEmpty() - Method in class edu.colorado.collections.CharLinkedStack
-
Determine whether this stack is empty.
- isEmpty() - Method in class edu.colorado.collections.CharQueue
-
Determine whether this queue is empty.
- isEmpty() - Method in class edu.colorado.collections.CharStack
-
Determine whether this stack is empty.
- isEmpty() - Method in class edu.colorado.collections.DerivedStack
-
Determine whether this stack is empty.
- isEmpty() - Method in class edu.colorado.collections.DoubleLinkedQueue
-
Determine whether this queue is empty.
- isEmpty() - Method in class edu.colorado.collections.DoubleLinkedStack
-
Determine whether this stack is empty.
- isEmpty() - Method in class edu.colorado.collections.DoubleQueue
-
Determine whether this queue is empty.
- isEmpty() - Method in class edu.colorado.collections.DoubleStack
-
Determine whether this stack is empty.
- isEmpty() - Method in class edu.colorado.collections.FloatLinkedQueue
-
Determine whether this queue is empty.
- isEmpty() - Method in class edu.colorado.collections.FloatLinkedStack
-
Determine whether this stack is empty.
- isEmpty() - Method in class edu.colorado.collections.FloatQueue
-
Determine whether this queue is empty.
- isEmpty() - Method in class edu.colorado.collections.FloatStack
-
Determine whether this stack is empty.
- isEmpty() - Method in class edu.colorado.collections.IntLinkedQueue
-
Determine whether this queue is empty.
- isEmpty() - Method in class edu.colorado.collections.IntLinkedStack
-
Determine whether this stack is empty.
- isEmpty() - Method in class edu.colorado.collections.IntQueue
-
Determine whether this queue is empty.
- isEmpty() - Method in class edu.colorado.collections.IntStack
-
Determine whether this stack is empty.
- isEmpty() - Method in class edu.colorado.collections.LinkedQueue
-
Determine whether this queue is empty.
- isEmpty() - Method in class edu.colorado.collections.LinkedStack
-
Determine whether this stack is empty.
- isEmpty() - Method in class edu.colorado.collections.LongLinkedQueue
-
Determine whether this queue is empty.
- isEmpty() - Method in class edu.colorado.collections.LongLinkedStack
-
Determine whether this stack is empty.
- isEmpty() - Method in class edu.colorado.collections.LongQueue
-
Determine whether this queue is empty.
- isEmpty() - Method in class edu.colorado.collections.LongStack
-
Determine whether this stack is empty.
- isEmpty() - Method in class edu.colorado.collections.ObjectLinkedQueue
-
Determine whether this queue is empty.
- isEmpty() - Method in class edu.colorado.collections.ObjectLinkedStack
-
Determine whether this stack is empty.
- isEmpty() - Method in class edu.colorado.collections.ObjectQueue
-
Determine whether this queue is empty.
- isEmpty() - Method in class edu.colorado.collections.ObjectStack
-
Determine whether this stack is empty.
- isEmpty() - Method in class edu.colorado.collections.ShortLinkedQueue
-
Determine whether this queue is empty.
- isEmpty() - Method in class edu.colorado.collections.ShortLinkedStack
-
Determine whether this stack is empty.
- isEmpty() - Method in class edu.colorado.collections.ShortQueue
-
Determine whether this queue is empty.
- isEmpty() - Method in class edu.colorado.collections.ShortStack
-
Determine whether this stack is empty.
- isEOF() - Method in class edu.colorado.io.EasyReader
-
Determine whether this EasyReader
has reached the
end-of-file.
- isEOLN() - Method in class edu.colorado.io.EasyReader
-
Determine whether the next input character is an end-of-line.
- isFormatProblem() - Method in class edu.colorado.io.EasyReader
-
Determine whether there was an incorrectly formatted input to the most
recent input operation.
- isGreen() - Method in class edu.colorado.simulations.TrafficLight
-
Check whether this TrafficLight
is green.
- isLeaf() - Method in class edu.colorado.nodes.BooleanBTNode
-
Accessor method to determine whether a node is a leaf.
- isLeaf() - Method in class edu.colorado.nodes.BTNode
-
Accessor method to determine whether a node is a leaf.
- isLeaf() - Method in class edu.colorado.nodes.ByteBTNode
-
Accessor method to determine whether a node is a leaf.
- isLeaf() - Method in class edu.colorado.nodes.CharBTNode
-
Accessor method to determine whether a node is a leaf.
- isLeaf() - Method in class edu.colorado.nodes.DoubleBTNode
-
Accessor method to determine whether a node is a leaf.
- isLeaf() - Method in class edu.colorado.nodes.FloatBTNode
-
Accessor method to determine whether a node is a leaf.
- isLeaf() - Method in class edu.colorado.nodes.IntBTNode
-
Accessor method to determine whether a node is a leaf.
- isLeaf() - Method in class edu.colorado.nodes.LongBTNode
-
Accessor method to determine whether a node is a leaf.
- isLeaf() - Method in class edu.colorado.nodes.ShortBTNode
-
Accessor method to determine whether a node is a leaf.
- isMorning() - Method in class edu.colorado.simulations.Clock
-
Check whether this Clock
's time is before noon.
- isOn() - Method in class edu.colorado.simulations.Throttle
-
Check whether this Throttle is on.
- isRed() - Method in class edu.colorado.simulations.TrafficLight
-
Check whether this TrafficLight
is red.
- iterator() - Method in class edu.colorado.collections.BagWithReceipts
-
Create an Iterator
containing the elements of this bag.
- iterator() - Method in class edu.colorado.collections.LinkedBag
-
Create an Iterator containing the elements of this bag.
- learn(BTNode<String>) - Static method in class AnimalGuess
-
Elicits information from the user to improve a binary taxonomy tree.
- length() - Method in class edu.colorado.homework.Statistician
-
Determine how many numbers have been given to this Statistician.
- LinkedBag<E> - Class in edu.colorado.collections
-
A LinkedBag is a collection of references to E objects.
- LinkedBag() - Constructor for class edu.colorado.collections.LinkedBag
-
Initialize an empty bag.
- LinkedQueue<E> - Class in edu.colorado.collections
-
A LinkedQueue<E>
is a queue of references to E objects.
- LinkedQueue() - Constructor for class edu.colorado.collections.LinkedQueue
-
Initialize an empty queue.
- LinkedSeq - Class in edu.colorado.collections
-
This class is a homework assignment;
A LinkedSeq
is a sequence of references to Objects.
- LinkedSeq() - Constructor for class edu.colorado.collections.LinkedSeq
-
Initialize an empty sequence.
- LinkedStack<E> - Class in edu.colorado.collections
-
A LinkedStack
is a stack of references to
E
objects.
- LinkedStack() - Constructor for class edu.colorado.collections.LinkedStack
-
Initialize an empty stack.
- listCopy(BooleanNode) - Static method in class edu.colorado.nodes.BooleanNode
-
Copy a list.
- listCopy(ByteNode) - Static method in class edu.colorado.nodes.ByteNode
-
Copy a list.
- listCopy(CharNode) - Static method in class edu.colorado.nodes.CharNode
-
Copy a list.
- listCopy(DoubleNode) - Static method in class edu.colorado.nodes.DoubleNode
-
Copy a list.
- listCopy(FloatNode) - Static method in class edu.colorado.nodes.FloatNode
-
Copy a list.
- listCopy(IntNode) - Static method in class edu.colorado.nodes.IntNode
-
Copy a list.
- listCopy(LongNode) - Static method in class edu.colorado.nodes.LongNode
-
Copy a list.
- listCopy(Node<E>) - Static method in class edu.colorado.nodes.Node
-
Copy a list.
- listCopy(ObjectNode) - Static method in class edu.colorado.nodes.ObjectNode
-
Copy a list.
- listCopy(ShortNode) - Static method in class edu.colorado.nodes.ShortNode
-
Copy a list.
- listCopyWithTail(BooleanNode) - Static method in class edu.colorado.nodes.BooleanNode
-
Copy a list, returning both a head and tail reference for the copy.
- listCopyWithTail(ByteNode) - Static method in class edu.colorado.nodes.ByteNode
-
Copy a list, returning both a head and tail reference for the copy.
- listCopyWithTail(CharNode) - Static method in class edu.colorado.nodes.CharNode
-
Copy a list, returning both a head and tail reference for the copy.
- listCopyWithTail(DoubleNode) - Static method in class edu.colorado.nodes.DoubleNode
-
Copy a list, returning both a head and tail reference for the copy.
- listCopyWithTail(FloatNode) - Static method in class edu.colorado.nodes.FloatNode
-
Copy a list, returning both a head and tail reference for the copy.
- listCopyWithTail(IntNode) - Static method in class edu.colorado.nodes.IntNode
-
Copy a list, returning both a head and tail reference for the copy.
- listCopyWithTail(LongNode) - Static method in class edu.colorado.nodes.LongNode
-
Copy a list, returning both a head and tail reference for the copy.
- listCopyWithTail(Node<E>) - Static method in class edu.colorado.nodes.Node
-
Copy a list, returning both a head and tail reference for the copy.
- listCopyWithTail(ObjectNode) - Static method in class edu.colorado.nodes.ObjectNode
-
Copy a list, returning both a head and tail reference for the copy.
- listCopyWithTail(ShortNode) - Static method in class edu.colorado.nodes.ShortNode
-
Copy a list, returning both a head and tail reference for the copy.
- Lister<E> - Class in edu.colorado.nodes
-
A Lister
implements Java's Iterator<E>
interface for a linked list made from Node<E>
nodes.
- Lister(Node<E>) - Constructor for class edu.colorado.nodes.Lister
-
Initialize a Lister with a specified linked list.
- listLength(BooleanNode) - Static method in class edu.colorado.nodes.BooleanNode
-
Compute the number of nodes in a linked list.
- listLength(ByteNode) - Static method in class edu.colorado.nodes.ByteNode
-
Compute the number of nodes in a linked list.
- listLength(CharNode) - Static method in class edu.colorado.nodes.CharNode
-
Compute the number of nodes in a linked list.
- listLength(DoubleNode) - Static method in class edu.colorado.nodes.DoubleNode
-
Compute the number of nodes in a linked list.
- listLength(FloatNode) - Static method in class edu.colorado.nodes.FloatNode
-
Compute the number of nodes in a linked list.
- listLength(IntNode) - Static method in class edu.colorado.nodes.IntNode
-
Compute the number of nodes in a linked list.
- listLength(LongNode) - Static method in class edu.colorado.nodes.LongNode
-
Compute the number of nodes in a linked list.
- listLength(Node<E>) - Static method in class edu.colorado.nodes.Node
-
Compute the number of nodes in a linked list.
- listLength(ObjectNode) - Static method in class edu.colorado.nodes.ObjectNode
-
Compute the number of nodes in a linked list.
- listLength(ShortNode) - Static method in class edu.colorado.nodes.ShortNode
-
Compute the number of nodes in a linked list.
- listPart(BooleanNode, BooleanNode) - Static method in class edu.colorado.nodes.BooleanNode
-
Copy part of a list, providing a head and tail reference for the new copy.
- listPart(ByteNode, ByteNode) - Static method in class edu.colorado.nodes.ByteNode
-
Copy part of a list, providing a head and tail reference for the new copy.
- listPart(CharNode, CharNode) - Static method in class edu.colorado.nodes.CharNode
-
Copy part of a list, providing a head and tail reference for the new copy.
- listPart(DoubleNode, DoubleNode) - Static method in class edu.colorado.nodes.DoubleNode
-
Copy part of a list, providing a head and tail reference for the new copy.
- listPart(FloatNode, FloatNode) - Static method in class edu.colorado.nodes.FloatNode
-
Copy part of a list, providing a head and tail reference for the new copy.
- listPart(IntNode, IntNode) - Static method in class edu.colorado.nodes.IntNode
-
Copy part of a list, providing a head and tail reference for the new copy.
- listPart(LongNode, LongNode) - Static method in class edu.colorado.nodes.LongNode
-
Copy part of a list, providing a head and tail reference for the new copy.
- listPart(Node<E>, Node<E>) - Static method in class edu.colorado.nodes.Node
-
Copy part of a list, providing a head and tail reference for the new copy.
- listPart(ObjectNode, ObjectNode) - Static method in class edu.colorado.nodes.ObjectNode
-
Copy part of a list, providing a head and tail reference for the new copy.
- listPart(ShortNode, ShortNode) - Static method in class edu.colorado.nodes.ShortNode
-
Copy part of a list, providing a head and tail reference for the new copy.
- listPosition(BooleanNode, int) - Static method in class edu.colorado.nodes.BooleanNode
-
Find a node at a specified position in a linked list.
- listPosition(ByteNode, int) - Static method in class edu.colorado.nodes.ByteNode
-
Find a node at a specified position in a linked list.
- listPosition(CharNode, int) - Static method in class edu.colorado.nodes.CharNode
-
Find a node at a specified position in a linked list.
- listPosition(DoubleNode, int) - Static method in class edu.colorado.nodes.DoubleNode
-
Find a node at a specified position in a linked list.
- listPosition(FloatNode, int) - Static method in class edu.colorado.nodes.FloatNode
-
Find a node at a specified position in a linked list.
- listPosition(IntNode, int) - Static method in class edu.colorado.nodes.IntNode
-
Find a node at a specified position in a linked list.
- listPosition(LongNode, int) - Static method in class edu.colorado.nodes.LongNode
-
Find a node at a specified position in a linked list.
- listPosition(Node<E>, int) - Static method in class edu.colorado.nodes.Node
-
Find a node at a specified position in a linked list.
- listPosition(ObjectNode, int) - Static method in class edu.colorado.nodes.ObjectNode
-
Find a node at a specified position in a linked list.
- listPosition(ShortNode, int) - Static method in class edu.colorado.nodes.ShortNode
-
Find a node at a specified position in a linked list.
- listSearch(BooleanNode, boolean) - Static method in class edu.colorado.nodes.BooleanNode
-
Search for a particular piece of data in a linked list.
- listSearch(ByteNode, byte) - Static method in class edu.colorado.nodes.ByteNode
-
Search for a particular piece of data in a linked list.
- listSearch(CharNode, char) - Static method in class edu.colorado.nodes.CharNode
-
Search for a particular piece of data in a linked list.
- listSearch(DoubleNode, double) - Static method in class edu.colorado.nodes.DoubleNode
-
Search for a particular piece of data in a linked list.
- listSearch(FloatNode, float) - Static method in class edu.colorado.nodes.FloatNode
-
Search for a particular piece of data in a linked list.
- listSearch(IntNode, int) - Static method in class edu.colorado.nodes.IntNode
-
Search for a particular piece of data in a linked list.
- listSearch(LongNode, long) - Static method in class edu.colorado.nodes.LongNode
-
Search for a particular piece of data in a linked list.
- listSearch(Node<E>, E) - Static method in class edu.colorado.nodes.Node
-
Search for a particular piece of data in a linked list.
- listSearch(ObjectNode, Object) - Static method in class edu.colorado.nodes.ObjectNode
-
Search for a particular piece of data in a linked list.
- listSearch(ShortNode, short) - Static method in class edu.colorado.nodes.ShortNode
-
Search for a particular piece of data in a linked list.
- Location - Class in edu.colorado.geometry
-
A Location object keeps track of a location on a two-dimensional
plane.
- Location(double, double) - Constructor for class edu.colorado.geometry.Location
-
Construct a Location with specified coordinates.
- LocationDemonstration - Class in <Unnamed>
-
- LocationDemonstration() - Constructor for class LocationDemonstration
-
- LongBTNode - Class in edu.colorado.nodes
-
A LongBTNode
provides a node for a binary tree.
- LongBTNode(long, LongBTNode, LongBTNode) - Constructor for class edu.colorado.nodes.LongBTNode
-
Initialize a LongBTNode
with a specified initial data and links
children.
- LongLinkedQueue - Class in edu.colorado.collections
-
A LongLinkedQueue
is a queue of long values.
- LongLinkedQueue() - Constructor for class edu.colorado.collections.LongLinkedQueue
-
Initialize an empty queue.
- LongLinkedStack - Class in edu.colorado.collections
-
A LongLinkedStack
is a stack of references to objects.
- LongLinkedStack() - Constructor for class edu.colorado.collections.LongLinkedStack
-
Initialize an empty stack.
- LongNode - Class in edu.colorado.nodes
-
A LongNode provides a node for a linked list with
long data in each node.
- LongNode(long, LongNode) - Constructor for class edu.colorado.nodes.LongNode
-
Initialize a node with a specified initial data and link to the next
node.
- LongQueue - Class in edu.colorado.collections
-
A LongQueue
is a queue of long values.
- LongQueue() - Constructor for class edu.colorado.collections.LongQueue
-
Initialize an empty queue with an initial capacity of 10.
- LongQueue(int) - Constructor for class edu.colorado.collections.LongQueue
-
Initialize an empty queue with a specified initial capacity.
- LongStack - Class in edu.colorado.collections
-
A LongStack
is a stack of long values.
- LongStack() - Constructor for class edu.colorado.collections.LongStack
-
Initialize an empty stack with an initial capacity of 10.
- LongStack(int) - Constructor for class edu.colorado.collections.LongStack
-
Initialize an empty stack with a specified initial capacity.
- main(String[]) - Static method in class AmplifierTest
-
- main(String[]) - Static method in class AnimalGuess
-
The main method prints instructions and repeatedly plays the
animal-guessing game.
- main(String[]) - Static method in class AssertExamples
-
The main method demonstrates calls to maxOf3
and maxOfArray .
- main(String[]) - Static method in class Author
-
- main(String[]) - Static method in class BagDemonstration
-
- main(String[]) - Static method in class BasicCalc
-
- main(String[]) - Static method in class BearGame
-
The main method interactively gets information from the user to
activate the bears
method.
- main(String[]) - Static method in class BinarySearcher
-
The main method prints a table of test results, searching for numbers
in an array that contains 2, 4, 6, 8, 10, 12, and 14.
- main(String[]) - Static method in class Blob
-
- main(String[]) - Static method in class CarWash
-
The main method activates carWashSimulate
with the values:
washTime = 240
arrivalTime = 0.0025
totalTime = 6000
- main(String[]) - Static method in class Counters
-
The main method ...
- main(String[]) - Static method in class edu.colorado.games.Connect4
-
- main(String[]) - Static method in class edu.colorado.io.EasyReader
-
A demonstration program.
- main(String[]) - Static method in class edu.colorado.io.FormatWriter
-
A demonstration program.
- main(String[]) - Static method in class EvaluateDemonstration
-
- main(String[]) - Static method in class Heapsort
-
The main method illustrates the use of a heapsort to sort a
small array.
- main(String[]) - Static method in class Insert
-
The main method illustrates the use of an insertion sort to sort a
small array.
- main(String[]) - Static method in class IsBalancedDemonstration
-
- main(String[]) - Static method in class LocationDemonstration
-
- main(String[]) - Static method in class Maze
-
The main method activates traverseMaze
and prints a message
indicating whether the tapestry was found.
- main(String[]) - Static method in class Mergesort
-
The main method illustrates the use of a merge sort to sort a
small array.
- main(String[]) - Static method in class Palindrome
-
The main method prompts the user for a strings.
- main(String) - Static method in class PlayConnect4
-
- main(String[]) - Static method in class PondLife
-
Run the simulation, using the values indicated in the documentation.
- main(String[]) - Static method in class PowerDemo
-
The main
method activates power
and
pow
with parameters that are provided by the user.
- main(String[]) - Static method in class Quicksort
-
The main method illustrates the use of a quicksort to sort a
small array.
- main(String[]) - Static method in class Select
-
The main method illustrates the use of a selection sort to sort a
small array.
- main(String[]) - Static method in class SimpleSearcher
-
The main method prints a table of test results, searching for numbers
in an array that contains 2, 4, 6, 8, 10, 12, and 14.
- main(String[]) - Static method in class TemperatureConversion
-
The main method prints a Celsius to Fahrenheit conversion
table.
- main(String[]) - Static method in class ThrottleDemonstration
-
- main(String[]) - Static method in class Traffic
-
- main(String[]) - Static method in class VirtualTest
-
- main(String[]) - Static method in class WordCounter
-
- main(String[]) - Static method in class WordTags
-
- main(String[]) - Static method in class WriteVertical
-
The main method prompts the user for a number that is then printed
in two different ways using recursive methods.
- main(String[]) - Static method in class ZeroDivision
-
- MANY_WEEDS - Static variable in class PondLife
-
- MANY_WEEKS - Static variable in class PondLife
-
- maximum() - Method in class edu.colorado.homework.Statistician
-
Determine the largest number that has been given
to this Statistician.
- maxOf3(int, int, int) - Static method in class AssertExamples
-
Returns the largest of three int values.
- maxOfArray(int[]) - Static method in class AssertExamples
-
Returns the largest value in an array
- Maze - Class in <Unnamed>
-
The Maze
Java application illustrates the use of
the traverseMaze
method that uses recursion to guide a user
into a maze and back out again.
- Maze() - Constructor for class Maze
-
- mean() - Method in class edu.colorado.homework.Statistician
-
Determine the arithmetic average of all the numbers that have been given
to this Statistician.
- Mergesort - Class in <Unnamed>
-
The Mergesort
Java application illustrates a merge sort.
- Mergesort() - Constructor for class Mergesort
-
- mergesort(int[], int, int) - Static method in class Mergesort
-
Sort an array of integers from smallest to largest, using a merge sort
algorithm.
- midpoint(Location, Location) - Static method in class edu.colorado.geometry.Location
-
Generate and return a Location halfway between two others.
- minimum() - Method in class edu.colorado.homework.Statistician
-
Determine the smallest number that has been given
to this Statistician.
- paint(Graphics) - Method in class Fractal
-
- Palindrome - Class in <Unnamed>
-
The Palindrome
Java application illustrates the use of a stack
and a queue in the same program to determine whether a line is a
palindrome.
- Palindrome() - Constructor for class Palindrome
-
- pause(long) - Static method in class edu.colorado.io.EasyReader
-
Make the computation pause for a specified number of milliseconds.
- pause(long) - Static method in class edu.colorado.io.FormatWriter
-
Make the computation pause for a specified number of milliseconds.
- peek() - Method in class edu.colorado.collections.ArrayStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.collections.BooleanLinkedStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.collections.BooleanStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.collections.ByteLinkedStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.collections.ByteStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.collections.CharLinkedStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.collections.CharStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.collections.DerivedStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.collections.DoubleLinkedStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.collections.DoubleStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.collections.FloatLinkedStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.collections.FloatStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.collections.IntLinkedStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.collections.IntStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.collections.LinkedStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.collections.LongLinkedStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.collections.LongStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.collections.ObjectLinkedStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.collections.ObjectStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.collections.ShortLinkedStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.collections.ShortStack
-
Get the top item of this stack, without removing the item.
- peek() - Method in class edu.colorado.io.EasyReader
-
Peek ahead at the next character from this EasyReader
(but don't read it).
- Plant - Class in edu.colorado.simulations
-
A Plant
is an Organism
with extra methods that
allow it to be eaten.
- Plant(double, double) - Constructor for class edu.colorado.simulations.Plant
-
Construct a Plant
with a specified size and growth rate.
- play(BTNode<String>) - Static method in class AnimalGuess
-
Play one round of the animal guessing game.
- play(int) - Method in class edu.colorado.games.AbstractGame
-
- PlayConnect4 - Class in <Unnamed>
-
- PlayConnect4() - Constructor for class PlayConnect4
-
- PondLife - Class in <Unnamed>
-
The PondLife
Java application runs a simple simulation that
models the fish and weeds in a pond.
- PondLife() - Constructor for class PondLife
-
- pondWeek(Vector<Herbivore>, Vector<Plant>) - Static method in class PondLife
-
Simulate one week of life in the pond, using the values indicated in the
documentation.
- pop() - Method in class edu.colorado.collections.ArrayStack
-
Get the top item, removing it from this stack.
- pop() - Method in class edu.colorado.collections.BooleanLinkedStack
-
Get the top item, removing it from this stack.
- pop() - Method in class edu.colorado.collections.BooleanStack
-
Get the top item, removing it from this stack.
- pop() - Method in class edu.colorado.collections.ByteLinkedStack
-
Get the top item, removing it from this stack.
- pop() - Method in class edu.colorado.collections.ByteStack
-
Get the top item, removing it from this stack.
- pop() - Method in class edu.colorado.collections.CharLinkedStack
-
Get the top item, removing it from this stack.
- pop() - Method in class edu.colorado.collections.CharStack
-
Get the top item, removing it from this stack.
- pop() - Method in class edu.colorado.collections.DerivedStack
-
Get the top item, removing it from this stack.
- pop() - Method in class edu.colorado.collections.DoubleLinkedStack
-
Get the top item, removing it from this stack.
- pop() - Method in class edu.colorado.collections.DoubleStack
-
Get the top item, removing it from this stack.
- pop() - Method in class edu.colorado.collections.FloatLinkedStack
-
Get the top item, removing it from this stack.
- pop() - Method in class edu.colorado.collections.FloatStack
-
Get the top item, removing it from this stack.
- pop() - Method in class edu.colorado.collections.IntLinkedStack
-
Get the top item, removing it from this stack.
- pop() - Method in class edu.colorado.collections.IntStack
-
Get the top item, removing it from this stack.
- pop() - Method in class edu.colorado.collections.LinkedStack
-
Get the top item, removing it from this stack.
- pop() - Method in class edu.colorado.collections.LongLinkedStack
-
Get the top item, removing it from this stack.
- pop() - Method in class edu.colorado.collections.LongStack
-
Get the top item, removing it from this stack.
- pop() - Method in class edu.colorado.collections.ObjectLinkedStack
-
Get the top item, removing it from this stack.
- pop() - Method in class edu.colorado.collections.ObjectStack
-
Get the top item, removing it from this stack.
- pop() - Method in class edu.colorado.collections.ShortLinkedStack
-
Get the top item, removing it from this stack.
- pop() - Method in class edu.colorado.collections.ShortStack
-
Get the top item, removing it from this stack.
- postorderPrint() - Method in class edu.colorado.nodes.BooleanBTNode
-
Uses a postorder traversal to print the data from each node at or below
this node of the binary tree.
- postorderPrint() - Method in class edu.colorado.nodes.BTNode
-
Uses a postorder traversal to print the data from each node at or below
this node of the binary tree.
- postorderPrint() - Method in class edu.colorado.nodes.ByteBTNode
-
Uses a postorder traversal to print the data from each node at or below
this node of the binary tree.
- postorderPrint() - Method in class edu.colorado.nodes.CharBTNode
-
Uses a postorder traversal to print the data from each node at or below
this node of the binary tree.
- postorderPrint() - Method in class edu.colorado.nodes.DoubleBTNode
-
Uses a postorder traversal to print the data from each node at or below
this node of the binary tree.
- postorderPrint() - Method in class edu.colorado.nodes.FloatBTNode
-
Uses a postorder traversal to print the data from each node at or below
this node of the binary tree.
- postorderPrint() - Method in class edu.colorado.nodes.IntBTNode
-
Uses a postorder traversal to print the data from each node at or below
this node of the binary tree.
- postorderPrint() - Method in class edu.colorado.nodes.LongBTNode
-
Uses a postorder traversal to print the data from each node at or below
this node of the binary tree.
- postorderPrint() - Method in class edu.colorado.nodes.ShortBTNode
-
Uses a postorder traversal to print the data from each node at or below
this node of the binary tree.
- pow(double, int) - Static method in class PowerDemo
-
Alternate implementation of the power
method.
- power(double, int) - Static method in class PowerDemo
-
Computes the value of x
raised to the n
power.
- PowerDemo - Class in <Unnamed>
-
The PowerDemo
Java application illustrates the use of
the power
and pow
methods, which use recursion to
calculate the value of a number raised to an integer power.
- PowerDemo() - Constructor for class PowerDemo
-
- preorderPrint() - Method in class edu.colorado.nodes.BooleanBTNode
-
Uses a preorder traversal to print the data from each node at or below
this node of the binary tree.
- preorderPrint() - Method in class edu.colorado.nodes.BTNode
-
Uses a preorder traversal to print the data from each node at or below
this node of the binary tree.
- preorderPrint() - Method in class edu.colorado.nodes.ByteBTNode
-
Uses a preorder traversal to print the data from each node at or below
this node of the binary tree.
- preorderPrint() - Method in class edu.colorado.nodes.CharBTNode
-
Uses a preorder traversal to print the data from each node at or below
this node of the binary tree.
- preorderPrint() - Method in class edu.colorado.nodes.DoubleBTNode
-
Uses a preorder traversal to print the data from each node at or below
this node of the binary tree.
- preorderPrint() - Method in class edu.colorado.nodes.FloatBTNode
-
Uses a preorder traversal to print the data from each node at or below
this node of the binary tree.
- preorderPrint() - Method in class edu.colorado.nodes.IntBTNode
-
Uses a preorder traversal to print the data from each node at or below
this node of the binary tree.
- preorderPrint() - Method in class edu.colorado.nodes.LongBTNode
-
Uses a preorder traversal to print the data from each node at or below
this node of the binary tree.
- preorderPrint() - Method in class edu.colorado.nodes.ShortBTNode
-
Uses a preorder traversal to print the data from each node at or below
this node of the binary tree.
- print(int) - Method in class edu.colorado.collections.IntBalancedSet
-
- print(int) - Method in class edu.colorado.nodes.BooleanBTNode
-
Uses an inorder traversal to print the data from each node at or below
this node of the binary tree, with indentations to indicate the depth
of each node.
- print(int) - Method in class edu.colorado.nodes.BTNode
-
Uses an inorder traversal to print the data from each node at or below
this node of the binary tree, with indentations to indicate the depth
of each node.
- print(int) - Method in class edu.colorado.nodes.ByteBTNode
-
Uses an inorder traversal to print the data from each node at or below
this node of the binary tree, with indentations to indicate the depth
of each node.
- print(int) - Method in class edu.colorado.nodes.CharBTNode
-
Uses an inorder traversal to print the data from each node at or below
this node of the binary tree, with indentations to indicate the depth
of each node.
- print(int) - Method in class edu.colorado.nodes.DoubleBTNode
-
Uses an inorder traversal to print the data from each node at or below
this node of the binary tree, with indentations to indicate the depth
of each node.
- print(int) - Method in class edu.colorado.nodes.FloatBTNode
-
Uses an inorder traversal to print the data from each node at or below
this node of the binary tree, with indentations to indicate the depth
of each node.
- print(int) - Method in class edu.colorado.nodes.IntBTNode
-
Uses an inorder traversal to print the data from each node at or below
this node of the binary tree, with indentations to indicate the depth
of each node.
- print(int) - Method in class edu.colorado.nodes.LongBTNode
-
Uses an inorder traversal to print the data from each node at or below
this node of the binary tree, with indentations to indicate the depth
of each node.
- print(int) - Method in class edu.colorado.nodes.ShortBTNode
-
Uses an inorder traversal to print the data from each node at or below
this node of the binary tree, with indentations to indicate the depth
of each node.
- printAllCounts(TreeMap<String, Integer>) - Static method in class WordCounter
-
- printData(Location, Location) - Static method in class LocationDemonstration
-
- printLeft(Object, int) - Static method in class edu.colorado.io.FormatWriter
-
Print an Object
(such as a String
) to
System.out
, using left justification.
- printNumber(double, int, int) - Static method in class edu.colorado.io.FormatWriter
-
Print a number to System.out
, using a specified format.
- printNumber(double, int, int) - Static method in class Traffic
-
Print a number to System.out
, using a specified format.
- printRight(Object, int) - Static method in class edu.colorado.io.FormatWriter
-
Print an Object
(such as a String
) to
System.out
, using right justification.
- printWhole(long, int) - Static method in class edu.colorado.io.FormatWriter
-
Print a whole number to System.out
, using a specified format.
- push(E) - Method in class edu.colorado.collections.ArrayStack
-
Push a new item onto this stack.
- push(boolean) - Method in class edu.colorado.collections.BooleanLinkedStack
-
Push a new item onto this stack.
- push(boolean) - Method in class edu.colorado.collections.BooleanStack
-
Push a new item onto this stack.
- push(byte) - Method in class edu.colorado.collections.ByteLinkedStack
-
Push a new item onto this stack.
- push(byte) - Method in class edu.colorado.collections.ByteStack
-
Push a new item onto this stack.
- push(char) - Method in class edu.colorado.collections.CharLinkedStack
-
Push a new item onto this stack.
- push(char) - Method in class edu.colorado.collections.CharStack
-
Push a new item onto this stack.
- push(Object) - Method in class edu.colorado.collections.DerivedStack
-
Push a new item onto this stack.
- push(double) - Method in class edu.colorado.collections.DoubleLinkedStack
-
Push a new item onto this stack.
- push(double) - Method in class edu.colorado.collections.DoubleStack
-
Push a new item onto this stack.
- push(float) - Method in class edu.colorado.collections.FloatLinkedStack
-
Push a new item onto this stack.
- push(float) - Method in class edu.colorado.collections.FloatStack
-
Push a new item onto this stack.
- push(int) - Method in class edu.colorado.collections.IntLinkedStack
-
Push a new item onto this stack.
- push(int) - Method in class edu.colorado.collections.IntStack
-
Push a new item onto this stack.
- push(E) - Method in class edu.colorado.collections.LinkedStack
-
Push a new item onto this stack.
- push(long) - Method in class edu.colorado.collections.LongLinkedStack
-
Push a new item onto this stack.
- push(long) - Method in class edu.colorado.collections.LongStack
-
Push a new item onto this stack.
- push(Object) - Method in class edu.colorado.collections.ObjectLinkedStack
-
Push a new item onto this stack.
- push(Object) - Method in class edu.colorado.collections.ObjectStack
-
Push a new item onto this stack.
- push(short) - Method in class edu.colorado.collections.ShortLinkedStack
-
Push a new item onto this stack.
- push(short) - Method in class edu.colorado.collections.ShortStack
-
Push a new item onto this stack.
- put(Object, Object) - Method in class edu.colorado.collections.ChainedTable
-
Add a new element to this ChainedTable, using the specified key.
- put(Object, Object) - Method in class edu.colorado.collections.Table
-
Add a new element to this table, using the specified key.
- randomFractal(int, int, int, int, Graphics) - Static method in class Fractal
-
- readAndEvaluate(EasyReader) - Static method in class BasicCalc
-
- readWordFile(TreeMap<String, Integer>) - Static method in class WordCounter
-
- receipts() - Method in class edu.colorado.collections.BagWithReceipts
-
Create an array containing all the receipts of elements of this bag.
- reduceRemainingTime() - Method in class edu.colorado.simulations.Washer
-
Reduce the remaining time in the current wash cycle by one second.
- remove(E) - Method in class edu.colorado.collections.ArrayBag
-
Remove one copy of a specified element from this bag.
- remove() - Method in class edu.colorado.collections.ArrayQueue
-
Get the front item, removing it from this queue.
- remove(Object) - Method in class edu.colorado.collections.BagWithReceipts
-
Remove one copy of a specified element from this BagWithReceipts
.
- remove(Object) - Method in class edu.colorado.collections.ChainedTable
-
Removes an object for a specified key.
- remove(int) - Method in class edu.colorado.collections.IntArrayBag
-
Remove one copy of a specified element from this bag.
- remove(int) - Method in class edu.colorado.collections.IntBalancedSet
-
Remove a specified element from this set.
- remove(int) - Method in class edu.colorado.collections.IntLinkedBag
-
Remove one copy of a specified element from this bag.
- remove(E) - Method in class edu.colorado.collections.LinkedBag
-
Remove one copy of a specified element from this bag.
- remove() - Method in class edu.colorado.collections.LinkedQueue
-
Get the front item, removing it from this queue.
- remove(Object) - Method in class edu.colorado.collections.Table
-
Removes an object for a specified key.
- remove() - Method in class edu.colorado.nodes.Lister
-
- remove_by_receipt(int) - Method in class edu.colorado.collections.BagWithReceipts
-
Remove an element with a specified receipt.
- removeCurrent() - Method in class edu.colorado.collections.DoubleArraySeq
-
Remove the current element from this sequence.
- removeCurrent() - Method in class edu.colorado.collections.DoubleLinkedSeq
-
Remove the current element from this sequence.
- removeCurrent() - Method in class edu.colorado.collections.LinkedSeq
-
Remove the current element from this sequence.
- removeEdge(int, int) - Method in class edu.colorado.graphs.Graph
-
Remove an edge from this Graph
.
- removeLeftmost() - Method in class edu.colorado.nodes.BooleanBTNode
-
Remove the leftmost most node of the tree below this node.
- removeLeftmost() - Method in class edu.colorado.nodes.BTNode
-
Remove the leftmost most node of the tree with this node as its root.
- removeLeftmost() - Method in class edu.colorado.nodes.ByteBTNode
-
Remove the leftmost most node of the tree below this node.
- removeLeftmost() - Method in class edu.colorado.nodes.CharBTNode
-
Remove the leftmost most node of the tree below this node.
- removeLeftmost() - Method in class edu.colorado.nodes.DoubleBTNode
-
Remove the leftmost most node of the tree below this node.
- removeLeftmost() - Method in class edu.colorado.nodes.FloatBTNode
-
Remove the leftmost most node of the tree below this node.
- removeLeftmost() - Method in class edu.colorado.nodes.IntBTNode
-
Remove the leftmost most node of the tree below this node.
- removeLeftmost() - Method in class edu.colorado.nodes.LongBTNode
-
Remove the leftmost most node of the tree below this node.
- removeLeftmost() - Method in class edu.colorado.nodes.ShortBTNode
-
Remove the leftmost most node of the tree below this node.
- removeNodeAfter() - Method in class edu.colorado.nodes.BooleanNode
-
Modification method to remove the node after this node.
- removeNodeAfter() - Method in class edu.colorado.nodes.ByteNode
-
Modification method to remove the node after this node.
- removeNodeAfter() - Method in class edu.colorado.nodes.CharNode
-
Modification method to remove the node after this node.
- removeNodeAfter() - Method in class edu.colorado.nodes.DoubleNode
-
Modification method to remove the node after this node.
- removeNodeAfter() - Method in class edu.colorado.nodes.FloatNode
-
Modification method to remove the node after this node.
- removeNodeAfter() - Method in class edu.colorado.nodes.IntNode
-
Modification method to remove the node after this node.
- removeNodeAfter() - Method in class edu.colorado.nodes.LongNode
-
Modification method to remove the node after this node.
- removeNodeAfter() - Method in class edu.colorado.nodes.Node
-
Modification method to remove the node after this node.
- removeNodeAfter() - Method in class edu.colorado.nodes.ObjectNode
-
Modification method to remove the node after this node.
- removeNodeAfter() - Method in class edu.colorado.nodes.ShortNode
-
Modification method to remove the node after this node.
- removeRightmost() - Method in class edu.colorado.nodes.BooleanBTNode
-
Remove the rightmost most node of the tree below this node.
- removeRightmost() - Method in class edu.colorado.nodes.BTNode
-
Remove the rightmost most node of the tree with this node as its root.
- removeRightmost() - Method in class edu.colorado.nodes.ByteBTNode
-
Remove the rightmost most node of the tree below this node.
- removeRightmost() - Method in class edu.colorado.nodes.CharBTNode
-
Remove the rightmost most node of the tree below this node.
- removeRightmost() - Method in class edu.colorado.nodes.DoubleBTNode
-
Remove the rightmost most node of the tree below this node.
- removeRightmost() - Method in class edu.colorado.nodes.FloatBTNode
-
Remove the rightmost most node of the tree below this node.
- removeRightmost() - Method in class edu.colorado.nodes.IntBTNode
-
Remove the rightmost most node of the tree below this node.
- removeRightmost() - Method in class edu.colorado.nodes.LongBTNode
-
Remove the rightmost most node of the tree below this node.
- removeRightmost() - Method in class edu.colorado.nodes.ShortBTNode
-
Remove the rightmost most node of the tree below this node.
- repeatPlay(String, int) - Static method in class edu.colorado.games.AbstractGame
-
- retrieve(int) - Method in class edu.colorado.collections.BagWithReceipts
-
Get a copy of the element with the specified receipt.
- rotate90() - Method in class edu.colorado.geometry.Location
-
Rotate this Location 90 degrees in a clockwise direction.
- ROWS - Static variable in class edu.colorado.games.Connect4
-
- search(int[], int, int, int) - Static method in class BinarySearcher
-
Search part of a sorted array for a specified target.
- search(double[], double) - Static method in class SimpleSearcher
-
Search an array for a specified number.
- search2(double[], double) - Static method in class SimpleSearcher
-
Search an array for a specified number.
- Select - Class in <Unnamed>
-
The Select
Java application illustrates a selection sort.
- Select() - Constructor for class Select
-
- selectionsort(int[], int, int) - Static method in class Select
-
Sort an array of integers from smallest to largest, using a selection sort
algorithm.
- set(int) - Method in class edu.colorado.simulations.SocialSecurityNumber
-
Set the value of this SocialSecurityNumber.
- setData(boolean) - Method in class edu.colorado.nodes.BooleanBTNode
-
Modification method to set the data in this node.
- setData(boolean) - Method in class edu.colorado.nodes.BooleanNode
-
Modification method to set the data in this node.
- setData(E) - Method in class edu.colorado.nodes.BTNode
-
Modification method to set the data in this node.
- setData(byte) - Method in class edu.colorado.nodes.ByteBTNode
-
Modification method to set the data in this node.
- setData(byte) - Method in class edu.colorado.nodes.ByteNode
-
Modification method to set the data in this node.
- setData(char) - Method in class edu.colorado.nodes.CharBTNode
-
Modification method to set the data in this node.
- setData(char) - Method in class edu.colorado.nodes.CharNode
-
Modification method to set the data in this node.
- setData(double) - Method in class edu.colorado.nodes.DoubleBTNode
-
Modification method to set the data in this node.
- setData(double) - Method in class edu.colorado.nodes.DoubleNode
-
Modification method to set the data in this node.
- setData(float) - Method in class edu.colorado.nodes.FloatBTNode
-
Modification method to set the data in this node.
- setData(float) - Method in class edu.colorado.nodes.FloatNode
-
Modification method to set the data in this node.
- setData(int) - Method in class edu.colorado.nodes.IntBTNode
-
Modification method to set the data in this node.
- setData(int) - Method in class edu.colorado.nodes.IntNode
-
Modification method to set the data in this node.
- setData(long) - Method in class edu.colorado.nodes.LongBTNode
-
Modification method to set the data in this node.
- setData(long) - Method in class edu.colorado.nodes.LongNode
-
Modification method to set the data in this node.
- setData(E) - Method in class edu.colorado.nodes.Node
-
Modification method to set the data in this node.
- setData(Object) - Method in class edu.colorado.nodes.ObjectNode
-
Modification method to set the data in this node.
- setData(short) - Method in class edu.colorado.nodes.ShortBTNode
-
Modification method to set the data in this node.
- setData(short) - Method in class edu.colorado.nodes.ShortNode
-
Modification method to set the data in this node.
- setLabel(int, Object) - Method in class edu.colorado.graphs.Graph
-
Modification method to change the label of a vertex of this Graph
.
- setLeft(BooleanBTNode) - Method in class edu.colorado.nodes.BooleanBTNode
-
Modification method to set the link to the left child of this node.
- setLeft(BTNode<E>) - Method in class edu.colorado.nodes.BTNode
-
Modification method to set the link to the left child of this node.
- setLeft(ByteBTNode) - Method in class edu.colorado.nodes.ByteBTNode
-
Modification method to set the link to the left child of this node.
- setLeft(CharBTNode) - Method in class edu.colorado.nodes.CharBTNode
-
Modification method to set the link to the left child of this node.
- setLeft(DoubleBTNode) - Method in class edu.colorado.nodes.DoubleBTNode
-
Modification method to set the link to the left child of this node.
- setLeft(FloatBTNode) - Method in class edu.colorado.nodes.FloatBTNode
-
Modification method to set the link to the left child of this node.
- setLeft(IntBTNode) - Method in class edu.colorado.nodes.IntBTNode
-
Modification method to set the link to the left child of this node.
- setLeft(LongBTNode) - Method in class edu.colorado.nodes.LongBTNode
-
Modification method to set the link to the left child of this node.
- setLeft(ShortBTNode) - Method in class edu.colorado.nodes.ShortBTNode
-
Modification method to set the link to the left child of this node.
- setLink(BooleanNode) - Method in class edu.colorado.nodes.BooleanNode
-
Modification method to set the link to the next node after this node.
- setLink(ByteNode) - Method in class edu.colorado.nodes.ByteNode
-
Modification method to set the link to the next node after this node.
- setLink(CharNode) - Method in class edu.colorado.nodes.CharNode
-
Modification method to set the link to the next node after this node.
- setLink(DoubleNode) - Method in class edu.colorado.nodes.DoubleNode
-
Modification method to set the link to the next node after this node.
- setLink(FloatNode) - Method in class edu.colorado.nodes.FloatNode
-
Modification method to set the link to the next node after this node.
- setLink(IntNode) - Method in class edu.colorado.nodes.IntNode
-
Modification method to set the link to the next node after this node.
- setLink(LongNode) - Method in class edu.colorado.nodes.LongNode
-
Modification method to set the link to the next node after this node.
- setLink(Node<E>) - Method in class edu.colorado.nodes.Node
-
Modification method to set the link to the next node after this node.
- setLink(ObjectNode) - Method in class edu.colorado.nodes.ObjectNode
-
Modification method to set the link to the next node after this node.
- setLink(ShortNode) - Method in class edu.colorado.nodes.ShortNode
-
Modification method to set the link to the next node after this node.
- setNeed(double) - Method in class edu.colorado.simulations.Animal
-
Set the current growth weekly food requirement of this Animal
.
- setRate(double) - Method in class edu.colorado.simulations.Organism
-
Set the current growth rate of this Organism
.
- setRight(BooleanBTNode) - Method in class edu.colorado.nodes.BooleanBTNode
-
Modification method to set the link to the right child of this node.
- setRight(BTNode<E>) - Method in class edu.colorado.nodes.BTNode
-
Modification method to set the link to the right child of this node.
- setRight(ByteBTNode) - Method in class edu.colorado.nodes.ByteBTNode
-
Modification method to set the link to the right child of this node.
- setRight(CharBTNode) - Method in class edu.colorado.nodes.CharBTNode
-
Modification method to set the link to the right child of this node.
- setRight(DoubleBTNode) - Method in class edu.colorado.nodes.DoubleBTNode
-
Modification method to set the link to the right child of this node.
- setRight(FloatBTNode) - Method in class edu.colorado.nodes.FloatBTNode
-
Modification method to set the link to the right child of this node.
- setRight(IntBTNode) - Method in class edu.colorado.nodes.IntBTNode
-
Modification method to set the link to the right child of this node.
- setRight(LongBTNode) - Method in class edu.colorado.nodes.LongBTNode
-
Modification method to set the link to the right child of this node.
- setRight(ShortBTNode) - Method in class edu.colorado.nodes.ShortBTNode
-
Modification method to set the link to the right child of this node.
- setTime(int, int, boolean) - Method in class edu.colorado.simulations.Clock
-
Set the current time of this Clock
.
- shift(double, double) - Method in class edu.colorado.geometry.Location
-
Move this Location by given amounts along the x and y axes.
- shift(int) - Method in class edu.colorado.simulations.Throttle
-
Move this Throttle's position up or down.
- ShortBTNode - Class in edu.colorado.nodes
-
A ShortBTNode
provides a node for a binary tree.
- ShortBTNode(short, ShortBTNode, ShortBTNode) - Constructor for class edu.colorado.nodes.ShortBTNode
-
Initialize a ShortBTNode
with a specified initial data and links
children.
- ShortLinkedQueue - Class in edu.colorado.collections
-
A ShortLinkedQueue
is a queue of short values.
- ShortLinkedQueue() - Constructor for class edu.colorado.collections.ShortLinkedQueue
-
Initialize an empty queue.
- ShortLinkedStack - Class in edu.colorado.collections
-
A ShortLinkedStack
is a stack of references to objects.
- ShortLinkedStack() - Constructor for class edu.colorado.collections.ShortLinkedStack
-
Initialize an empty stack.
- ShortNode - Class in edu.colorado.nodes
-
A ShortNode provides a node for a linked list with
short data in each node.
- ShortNode(short, ShortNode) - Constructor for class edu.colorado.nodes.ShortNode
-
Initialize a node with a specified initial data and link to the next
node.
- ShortQueue - Class in edu.colorado.collections
-
A ShortQueue
is a queue of short values.
- ShortQueue() - Constructor for class edu.colorado.collections.ShortQueue
-
Initialize an empty queue with an initial capacity of 10.
- ShortQueue(int) - Constructor for class edu.colorado.collections.ShortQueue
-
Initialize an empty queue with a specified initial capacity.
- ShortStack - Class in edu.colorado.collections
-
A ShortStack
is a stack of short values.
- ShortStack() - Constructor for class edu.colorado.collections.ShortStack
-
Initialize an empty stack with an initial capacity of 10.
- ShortStack(int) - Constructor for class edu.colorado.collections.ShortStack
-
Initialize an empty stack with a specified initial capacity.
- shutoff() - Method in class edu.colorado.simulations.Throttle
-
Turn off this Throttle.
- simlights(int, int, double, int, int) - Static method in class Traffic
-
- SimpleSearcher - Class in <Unnamed>
-
The SimpleSearcher
Java application runs a small test on the
search
method that searches for a specified number in an array.
- SimpleSearcher() - Constructor for class SimpleSearcher
-
- simulateTime(int) - Method in class edu.colorado.simulations.TrafficLight
-
Simulate the passage of a certain amount of time for this
TrafficLight
.
- simulateWeek() - Method in class edu.colorado.simulations.Animal
-
Simulate the passage of one week in the life of this Animal
.
- simulateWeek() - Method in class edu.colorado.simulations.Organism
-
Simulate the passage of one week in the life of this Organism
.
- size() - Method in class edu.colorado.collections.ArrayBag
-
Determine the number of elements in this bag.
- size() - Method in class edu.colorado.collections.ArrayQueue
-
Accessor method to determine the number of items in this queue.
- size() - Method in class edu.colorado.collections.ArrayStack
-
Accessor method to determine the number of items in this stack.
- size() - Method in class edu.colorado.collections.BagWithReceipts
-
Determine the number of elements in this bag.
- size() - Method in class edu.colorado.collections.BooleanLinkedQueue
-
Accessor method to determine the number of items in this queue.
- size() - Method in class edu.colorado.collections.BooleanLinkedStack
-
Accessor method to determine the number of items in this stack.
- size() - Method in class edu.colorado.collections.BooleanQueue
-
Accessor method to determine the number of items in this queue.
- size() - Method in class edu.colorado.collections.BooleanStack
-
Accessor method to determine the number of items in this stack.
- size() - Method in class edu.colorado.collections.ByteLinkedQueue
-
Accessor method to determine the number of items in this queue.
- size() - Method in class edu.colorado.collections.ByteLinkedStack
-
Accessor method to determine the number of items in this stack.
- size() - Method in class edu.colorado.collections.ByteQueue
-
Accessor method to determine the number of items in this queue.
- size() - Method in class edu.colorado.collections.ByteStack
-
Accessor method to determine the number of items in this stack.
- size() - Method in class edu.colorado.collections.CharLinkedQueue
-
Accessor method to determine the number of items in this queue.
- size() - Method in class edu.colorado.collections.CharLinkedStack
-
Accessor method to determine the number of items in this stack.
- size() - Method in class edu.colorado.collections.CharQueue
-
Accessor method to determine the number of items in this queue.
- size() - Method in class edu.colorado.collections.CharStack
-
Accessor method to determine the number of items in this stack.
- size() - Method in class edu.colorado.collections.DoubleArraySeq
-
Determine the number of elements in this sequence.
- size() - Method in class edu.colorado.collections.DoubleLinkedQueue
-
Accessor method to determine the number of items in this queue.
- size() - Method in class edu.colorado.collections.DoubleLinkedSeq
-
Determine the number of elements in this sequence.
- size() - Method in class edu.colorado.collections.DoubleLinkedStack
-
Accessor method to determine the number of items in this stack.
- size() - Method in class edu.colorado.collections.DoubleQueue
-
Accessor method to determine the number of items in this queue.
- size() - Method in class edu.colorado.collections.DoubleStack
-
Accessor method to determine the number of items in this stack.
- size() - Method in class edu.colorado.collections.FloatLinkedQueue
-
Accessor method to determine the number of items in this queue.
- size() - Method in class edu.colorado.collections.FloatLinkedStack
-
Accessor method to determine the number of items in this stack.
- size() - Method in class edu.colorado.collections.FloatQueue
-
Accessor method to determine the number of items in this queue.
- size() - Method in class edu.colorado.collections.FloatStack
-
Accessor method to determine the number of items in this stack.
- size() - Method in class edu.colorado.collections.IntArrayBag
-
Determine the number of elements in this bag.
- size() - Method in class edu.colorado.collections.IntLinkedBag
-
Determine the number of elements in this bag.
- size() - Method in class edu.colorado.collections.IntLinkedQueue
-
Accessor method to determine the number of items in this queue.
- size() - Method in class edu.colorado.collections.IntLinkedStack
-
Accessor method to determine the number of items in this stack.
- size() - Method in class edu.colorado.collections.IntQueue
-
Accessor method to determine the number of items in this queue.
- size() - Method in class edu.colorado.collections.IntStack
-
Accessor method to determine the number of items in this stack.
- size() - Method in class edu.colorado.collections.IntTreeBag
-
Determine the number of elements in this bag.
- size() - Method in class edu.colorado.collections.LinkedBag
-
Determine the number of elements in this bag.
- size() - Method in class edu.colorado.collections.LinkedQueue
-
Accessor method to determine the number of items in this queue.
- size() - Method in class edu.colorado.collections.LinkedSeq
-
Accessor method to determine the number of elements in this sequence.
- size() - Method in class edu.colorado.collections.LinkedStack
-
Accessor method to determine the number of items in this stack.
- size() - Method in class edu.colorado.collections.LongLinkedQueue
-
Accessor method to determine the number of items in this queue.
- size() - Method in class edu.colorado.collections.LongLinkedStack
-
Accessor method to determine the number of items in this stack.
- size() - Method in class edu.colorado.collections.LongQueue
-
Accessor method to determine the number of items in this queue.
- size() - Method in class edu.colorado.collections.LongStack
-
Accessor method to determine the number of items in this stack.
- size() - Method in class edu.colorado.collections.ObjectLinkedQueue
-
Accessor method to determine the number of items in this queue.
- size() - Method in class edu.colorado.collections.ObjectLinkedStack
-
Accessor method to determine the number of items in this stack.
- size() - Method in class edu.colorado.collections.ObjectQueue
-
Accessor method to determine the number of items in this queue.
- size() - Method in class edu.colorado.collections.ObjectStack
-
Accessor method to determine the number of items in this stack.
- size() - Method in class edu.colorado.collections.ShortLinkedQueue
-
Accessor method to determine the number of items in this queue.
- size() - Method in class edu.colorado.collections.ShortLinkedStack
-
Accessor method to determine the number of items in this stack.
- size() - Method in class edu.colorado.collections.ShortQueue
-
Accessor method to determine the number of items in this queue.
- size() - Method in class edu.colorado.collections.ShortStack
-
Accessor method to determine the number of items in this stack.
- size() - Method in class edu.colorado.graphs.Graph
-
Determine the number of vertices in this Graph
.
- skipLine() - Method in class edu.colorado.io.EasyReader
-
Read and discard the rest of the current input line.
- SocialSecurityNumber - Class in edu.colorado.simulations
-
A SocialSecurityNumber object holds the value of a single social security
number.
- SocialSecurityNumber(int) - Constructor for class edu.colorado.simulations.SocialSecurityNumber
-
Construct a SocialSecurityNumber from a specified number.
- someMorning(Vector<T>) - Static method in class edu.colorado.simulations.Clock
-
- specifiedRotation(Location, int) - Static method in class LocationDemonstration
-
- start() - Method in class edu.colorado.collections.DoubleArraySeq
-
Set the current element at the front of this sequence.
- start() - Method in class edu.colorado.collections.DoubleLinkedSeq
-
Set the current element at the front of this sequence.
- start() - Method in class edu.colorado.collections.LinkedSeq
-
Set the current element at the front of this sequence.
- startWashing() - Method in class edu.colorado.simulations.Washer
-
Start a wash cycle going for this washer.
- Statistician - Class in edu.colorado.homework
-
This class is a homework assignment;
A Statistician
keeps track of statistics about a sequence of
double numbers.
- Statistician() - Constructor for class edu.colorado.homework.Statistician
-
Initialize a new Statistician.
- stillNeed() - Method in class edu.colorado.simulations.Animal
-
Determine the amount of food that this Animal
still needs to
survive this week.
- stringInput() - Method in class edu.colorado.io.EasyReader
-
Read a String
(up to whitespace) from this
EasyReader
.
- stringInputLine() - Method in class edu.colorado.io.EasyReader
-
Read a String
from a complete line of this
EasyReader
.
- stringQuery(String) - Method in class edu.colorado.io.EasyReader
-
Print a prompt, then read and return a String
from this
EasyReader
.
- sum() - Method in class edu.colorado.homework.Statistician
-
Determine the sum of all the numbers that have been given to this
Statistician.
- superWriteVertical(int) - Static method in class WriteVertical
-
Print the digits of an integer vertically.
- Table - Class in edu.colorado.collections
-
A Table
is an open-address hash table with a fixed capacity.
- Table(int) - Constructor for class edu.colorado.collections.Table
-
Initialize an empty table with a specified capacity.
- TemperatureConversion - Class in <Unnamed>
-
The TemperatureConversion Java application prints a table
converting Celsius to Fahrenheit degrees.
- TemperatureConversion() - Constructor for class TemperatureConversion
-
- testfoo(A) - Static method in class VirtualTest
-
- Throttle - Class in edu.colorado.simulations
-
A Throttle object simulates a throttle that is controlling
fuel flow.
- Throttle(int) - Constructor for class edu.colorado.simulations.Throttle
-
Construct a Throttle with a specified number of
"on positions."
- ThrottleDemonstration - Class in <Unnamed>
-
- ThrottleDemonstration() - Constructor for class ThrottleDemonstration
-
- toString() - Method in class edu.colorado.geometry.Location
-
Generate a String representation of this Location.
- toString() - Method in class edu.colorado.simulations.SocialSecurityNumber
-
Return the value of this Social Security Number as a String.
- totalMass(Vector<T>) - Static method in class PondLife
-
Calculate the total mass of a collection of Organism
s.
- Traffic - Class in <Unnamed>
-
- Traffic() - Constructor for class Traffic
-
- TrafficLight - Class in edu.colorado.simulations
-
A TrafficLight
object simulates a simple traffic light.
- TrafficLight(int, int) - Constructor for class edu.colorado.simulations.TrafficLight
-
Construct a TrafficLight
with a specified lengths of time
that the light stays red and green.
- transferLeft(int) - Method in class edu.colorado.collections.IntBalancedSet
-
- transferRight(int) - Method in class edu.colorado.collections.IntBalancedSet
-
- traverseMaze() - Static method in class Maze
-
Provides interactive help to guide a user through a maze and back out.
- treeCopy(BooleanBTNode) - Static method in class edu.colorado.nodes.BooleanBTNode
-
Copy a binary tree.
- treeCopy(BTNode<E>) - Static method in class edu.colorado.nodes.BTNode
-
Copy a binary tree.
- treeCopy(ByteBTNode) - Static method in class edu.colorado.nodes.ByteBTNode
-
Copy a binary tree.
- treeCopy(CharBTNode) - Static method in class edu.colorado.nodes.CharBTNode
-
Copy a binary tree.
- treeCopy(DoubleBTNode) - Static method in class edu.colorado.nodes.DoubleBTNode
-
Copy a binary tree.
- treeCopy(FloatBTNode) - Static method in class edu.colorado.nodes.FloatBTNode
-
Copy a binary tree.
- treeCopy(IntBTNode) - Static method in class edu.colorado.nodes.IntBTNode
-
Copy a binary tree.
- treeCopy(LongBTNode) - Static method in class edu.colorado.nodes.LongBTNode
-
Copy a binary tree.
- treeCopy(ShortBTNode) - Static method in class edu.colorado.nodes.ShortBTNode
-
Copy a binary tree.
- TreeExample - Class in <Unnamed>
-
- TreeExample() - Constructor for class TreeExample
-
- treeSize(BooleanBTNode) - Static method in class edu.colorado.nodes.BooleanBTNode
-
Count the number of nodes in a binary tree.
- treeSize(BTNode<E>) - Static method in class edu.colorado.nodes.BTNode
-
Count the number of nodes in a binary tree.
- treeSize(ByteBTNode) - Static method in class edu.colorado.nodes.ByteBTNode
-
Count the number of nodes in a binary tree.
- treeSize(CharBTNode) - Static method in class edu.colorado.nodes.CharBTNode
-
Count the number of nodes in a binary tree.
- treeSize(DoubleBTNode) - Static method in class edu.colorado.nodes.DoubleBTNode
-
Count the number of nodes in a binary tree.
- treeSize(FloatBTNode) - Static method in class edu.colorado.nodes.FloatBTNode
-
Count the number of nodes in a binary tree.
- treeSize(IntBTNode) - Static method in class edu.colorado.nodes.IntBTNode
-
Count the number of nodes in a binary tree.
- treeSize(LongBTNode) - Static method in class edu.colorado.nodes.LongBTNode
-
Count the number of nodes in a binary tree.
- treeSize(ShortBTNode) - Static method in class edu.colorado.nodes.ShortBTNode
-
Count the number of nodes in a binary tree.
- trimToSize() - Method in class edu.colorado.collections.ArrayBag
-
Reduce the current capacity of this bag to its actual size (i.e., the
number of elements it contains).
- trimToSize() - Method in class edu.colorado.collections.ArrayQueue
-
Reduce the current capacity of this queue to its actual size (i.e., the
number of items it contains).
- trimToSize() - Method in class edu.colorado.collections.ArrayStack
-
Reduce the current capacity of this stack to its actual size (i.e., the
number of items it contains).
- trimToSize() - Method in class edu.colorado.collections.BooleanQueue
-
Reduce the current capacity of this queue to its actual size (i.e., the
number of items it contains).
- trimToSize() - Method in class edu.colorado.collections.BooleanStack
-
Reduce the current capacity of this stack to its actual size (i.e., the
number of items it contains).
- trimToSize() - Method in class edu.colorado.collections.ByteQueue
-
Reduce the current capacity of this queue to its actual size (i.e., the
number of items it contains).
- trimToSize() - Method in class edu.colorado.collections.ByteStack
-
Reduce the current capacity of this stack to its actual size (i.e., the
number of items it contains).
- trimToSize() - Method in class edu.colorado.collections.CharQueue
-
Reduce the current capacity of this queue to its actual size (i.e., the
number of items it contains).
- trimToSize() - Method in class edu.colorado.collections.CharStack
-
Reduce the current capacity of this stack to its actual size (i.e., the
number of items it contains).
- trimToSize() - Method in class edu.colorado.collections.DoubleArraySeq
-
Reduce the current capacity of this sequence to its actual size (i.e., the
number of elements it contains).
- trimToSize() - Method in class edu.colorado.collections.DoubleQueue
-
Reduce the current capacity of this queue to its actual size (i.e., the
number of items it contains).
- trimToSize() - Method in class edu.colorado.collections.DoubleStack
-
Reduce the current capacity of this stack to its actual size (i.e., the
number of items it contains).
- trimToSize() - Method in class edu.colorado.collections.FloatQueue
-
Reduce the current capacity of this queue to its actual size (i.e., the
number of items it contains).
- trimToSize() - Method in class edu.colorado.collections.FloatStack
-
Reduce the current capacity of this stack to its actual size (i.e., the
number of items it contains).
- trimToSize() - Method in class edu.colorado.collections.IntArrayBag
-
Reduce the current capacity of this bag to its actual size (i.e., the
number of elements it contains).
- trimToSize() - Method in class edu.colorado.collections.IntQueue
-
Reduce the current capacity of this queue to its actual size (i.e., the
number of items it contains).
- trimToSize() - Method in class edu.colorado.collections.IntStack
-
Reduce the current capacity of this stack to its actual size (i.e., the
number of items it contains).
- trimToSize() - Method in class edu.colorado.collections.LongQueue
-
Reduce the current capacity of this queue to its actual size (i.e., the
number of items it contains).
- trimToSize() - Method in class edu.colorado.collections.LongStack
-
Reduce the current capacity of this stack to its actual size (i.e., the
number of items it contains).
- trimToSize() - Method in class edu.colorado.collections.ObjectQueue
-
Reduce the current capacity of this queue to its actual size (i.e., the
number of items it contains).
- trimToSize() - Method in class edu.colorado.collections.ObjectStack
-
Reduce the current capacity of this stack to its actual size (i.e., the
number of items it contains).
- trimToSize() - Method in class edu.colorado.collections.ShortQueue
-
Reduce the current capacity of this queue to its actual size (i.e., the
number of items it contains).
- trimToSize() - Method in class edu.colorado.collections.ShortStack
-
Reduce the current capacity of this stack to its actual size (i.e., the
number of items it contains).