Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
H
L
M
P
S
T
Z
A
Acrobat
- interface
Acrobat
.
This interface defines the methods that a class must implement in order to be considered an Acrobat.
addItem(Comparable)
- Method in class
ListManager
Add a Comparable object to the list.
C
clap(int)
- Method in interface
Acrobat
Clap as instructed.
clap(int)
- Method in class
Dog
Clap as instructed.
compareTo(Object)
- Method in class
Dog
Compares this object with the specified object for order.
D
Dog
- class
Dog
.
One of several animal types, in this case, a canine.
Dog(String)
- Constructor for class
Dog
Create a new Dog with default characteristics.
Dog(String, double, double)
- Constructor for class
Dog
Create a new Dog, using supplied parameter values.
E
eat(double)
- Method in class
Dog
Eat some goodies.
equals(Object)
- Method in class
Dog
Compares this Dog to the specified object.
F
findItem(Comparable)
- Method in class
ListManager
Searches the list for the specified object using the binary search algorithm.
findName(String)
- Method in class
Searcher
Find a name and return its index
G
getActionCount()
- Method in interface
Acrobat
Tell the caller how many things we've done so far.
getActionCount()
- Method in class
Dog
Tell the caller how many things we've done so far.
getCurrentWeight()
- Method in class
Dog
get the current weight of this animal.
getMealSize()
- Method in class
Dog
get the meal size defined for this animal.
getName()
- Method in class
Dog
get the name of this animal.
H
hashCode()
- Method in class
Dog
Returns a hash code for this Dog.
L
ListManager
- class
ListManager
.
This class is a very simple demo of searching and sorting.
ListManager()
- Constructor for class
ListManager
This class is a simple implementation of a sorted insertion and a binary search.
M
main(String[])
- Static method in class
Searcher
Run it and find the name supplied by the user.
main(String[])
- Static method in class
Zoo
Run with the pack.
P
printList()
- Method in class
ListManager
Print the contents of the list.
S
Searcher
- class
Searcher
.
Simple linear searcher.
Searcher(String[])
- Constructor for class
Searcher
Create and populate a list using Strings provided by the caller.
T
toString()
- Method in class
Dog
Return a descriptive String.
twirl(int)
- Method in interface
Acrobat
Twirl around as instructed.
twirl(int)
- Method in class
Dog
Twirl around as instructed.
Z
Zoo
- class
Zoo
.
Utilize a ListManager to maintain a list of Dogs.
Zoo()
- Constructor for class
Zoo
A
C
D
E
F
G
H
L
M
P
S
T
Z
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes