All Packages  Class Hierarchy

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

Index of all Fields and Methods

A

ADD. Static variable in class NetworkGUI.Move

B

back(). Method in class list.DList
Creates a Position that is at the back of the list.

C

chooseMove(). Method in interface NetworkGUI.Player

D

DList(). Constructor for class list.DList
Constructs an empty d1ist.
DListPosition(DList). Constructor for class list.DListPosition
Constructs a position that is at the front of dl.

E

elapsed(). Method in class Timer.Timer
post : RUNNING() ==> returns the time since last call to start() !RUNNING() ==> returns total elapsed time
elementAt(). Method in class list.DListPosition
Returns the element at the current position.
elementAt(). Method in interface list.Position
Returns the element at the current position.
elements(). Method in class list.List
Returns an Enumeration of the components of this list.
elements(). Method in class list.SList
Returns an Enumeration of the components of this list.

F

forceMove(Move). Method in interface NetworkGUI.Player
front(). Method in class list.DList
Creates a Position that is at the front of the list.

H

hasMoreElements(). Method in class list.ListEnum
Tests if this enumeration contains more elements.

I

insertAfter(Object). Method in class list.DListPosition
Inserts elem just before the current position in the list.
insertAfter(Object). Method in interface list.Position
Inserts elem just before the current position in the list.
insertBefore(Object). Method in class list.DListPosition
Inserts elem just before the current position in the list.
insertBefore(Object). Method in interface list.Position
Inserts elem just before the current position in the list.
insertEnd(Object). Method in class list.List
Inserts obj into this list at the end.
insertEnd(Object). Method in class list.SList
Inserts obj into this list at the end.
insertFront(Object). Method in class list.DList
Inserts obj into this DList at the front.
insertFront(Object). Method in class list.List
Inserts obj into this list at the beginning.
insertFront(Object). Method in class list.SList
Inserts obj into this list at the beginning.
isEmpty(). Method in class list.DList
Returns true if this DList is empty, false otherwise.
isEmpty(). Method in class list.List
Returns true if this list is empty, false otherwise.
isEmpty(). Method in class list.SList
Returns true if this list is empty, false otherwise.
isValidPosition(). Method in class list.DListPosition
Determines whether the current position is valid.
isValidPosition(). Method in interface list.Position
Determines whether the current position is valid.

L

length(). Method in class list.DList
Returns the length of this DList.
length(). Method in class list.List
Returns the length of this list.
length(). Method in class list.SList
Returns the length of this list.
List(). Constructor for class list.List
Construct an empty list
ListEnum(ListNode). Constructor for class list.ListEnum
Creates a new enumeration for the elements linked with ListNodes starting with l.

M

main(String[]). Static method in class list.DList
main(String[]). Static method in class list.List
Runs test cases on the the List class.
main(String[]). Static method in class list.SList
Runs test cases on the the List class.
Move(). Constructor for class NetworkGUI.Move
Construct a quit move.
Move(int, int). Constructor for class NetworkGUI.Move
Construct an add move.
Move(int, int, int, int). Constructor for class NetworkGUI.Move
Construct a step move.
moveKind. Variable in class NetworkGUI.Move

N

next(). Method in class list.DListPosition
Constructs a new ListPosition at the position after this one.
next(). Method in interface list.Position
Constructs a new ListPosition at the position after this one.
nextElement(). Method in class list.ListEnum
Returns the next element of this enumeration.
nth(int). Method in class list.List
Returns the element at the specified position.
nth(int). Method in class list.SList
Returns the element at the specified position.

O

opponentMove(Move). Method in interface NetworkGUI.Player

P

previous(). Method in class list.DListPosition
Constructs a new DListPosition at the position before this one.
previous(). Method in interface list.Position
Constructs a new ListPosition at the position before this one.

Q

QUIT. Static variable in class NetworkGUI.Move

R

remove(). Method in class list.DListPosition
Removes the element at this position in the DList.
remove(). Method in interface list.Position
Removes the element at this position in the DList.
reset(). Method in class Timer.Timer
post : stops timing, if currently RUNNING(); resets accumulated time to 0.

S

setElementAt(Object). Method in class list.DListPosition
Sets the element at the current position to elem.
setElementAt(Object). Method in interface list.Position
Sets the element at the current position to elem.
SList(). Constructor for class list.SList
Construct an empty list
start(). Method in class Timer.Timer
post : starts the timer.
STEP. Static variable in class NetworkGUI.Move
stop(). Method in class Timer.Timer
post : stops the timer.

T

TestHelper(). Constructor for class list.TestHelper
Timer(). Constructor for class Timer.Timer
post : initializes Timer to 0 msec
toString(). Method in class list.DList
Returns a String representation of the DList.
toString(). Method in class list.List
Returns a String representation of the list.
toString(). Method in class NetworkGUI.Move
toString(). Method in class list.SList
Returns a String representation of the list.

X

x1. Variable in class NetworkGUI.Move
x2. Variable in class NetworkGUI.Move

Y

y1. Variable in class NetworkGUI.Move
y2. Variable in class NetworkGUI.Move