Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
I
L
M
N
P
R
S
T
Z
A
add(Numeric)
- Method in interface
Numeric
add(RussianDoll)
- Method in class
RussianDoll
Implements
Numeric.add(Numeric)
.
B
bigger()
- Method in class
RussianDoll
Adds one.
C
compareTo(Object)
- Method in interface
Numeric
D
divideAndRemainder(Numeric)
- Method in interface
Numeric
E
equals(Object)
- Method in interface
Numeric
I
inner
- Variable in class
RussianDoll
Contains the next doll in, or in the special case of ZERO, contains this doll itself.
L
longValue()
- Method in interface
Numeric
M
main(String[])
- Static method in class
NumericTest
Test the RussianDoll implementation of Numeric.
main(String[])
- Static method in class
RussianDoll
A test method of your choice; do whatever you want here.
multiply(Numeric)
- Method in interface
Numeric
N
Numeric
- interface
Numeric
.
An interface for any class that supports various numeric operations.
NumericTest
- class
NumericTest
.
This class tests your implementation of the Numeric interface, using a main function.
NumericTest()
- Constructor for class
NumericTest
P
printit(String, Numeric)
- Static method in class
NumericTest
Print "s: n" using System.out.println.
R
RussianDoll
- class
RussianDoll
.
We designed this class in lecture.
RussianDoll()
- Constructor for class
RussianDoll
A special constructor returning a cyclic doll.
RussianDoll(RussianDoll)
- Constructor for class
RussianDoll
The usual constructor.
S
smaller()
- Method in class
RussianDoll
Subtracts one.
subtract(Numeric)
- Method in interface
Numeric
T
toString()
- Method in class
RussianDoll
Converts to a string representing a Peano integer: "0", "S0", "SS0", etc.
Z
ZERO
- Static variable in class
RussianDoll
The special doll representing ZERO.
A
B
C
D
E
I
L
M
N
P
R
S
T
Z
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes