Overview
Package
Class
Tree
Deprecated
Index
Help
Java Case Studies
PREV NEXT
FRAMES
NO FRAMES
A
B
C
D
F
G
I
L
M
P
S
V
A
add(ComplexDouble)
- Method in class phw.util.
ComplexDouble
addImag(double)
- Method in class phw.util.
ComplexDouble
addReal(double)
- Method in class phw.util.
ComplexDouble
Ask
- class phw.util.
Ask
.
This
Ask
class contains a set of static methods for safe interactive input of individual primitive types.
B
Boolean(String)
- Static method in class phw.util.
Ask
Ask.Boolean
issues the prompt and returns a boolean depending on the first non-white-space character typed.
Byte(String, byte, byte)
- Static method in class phw.util.
Ask
Ask.Byte
issues the prompt and returns a byte between min and max inclusive.
C
Char(String, char[])
- Static method in class phw.util.
Ask
Ask.Char
issues the prompt and returns a char depending on the first non-white-space character typed.
clone()
- Method in class phw.util.
ComplexDouble
ComplexDouble
- class phw.util.
ComplexDouble
.
This defines a double-precision complex number class.
ComplexDouble(double, double)
- Constructor for class phw.util.
ComplexDouble
D
div(ComplexDouble)
- Method in class phw.util.
ComplexDouble
Double(String, double, double)
- Static method in class phw.util.
Ask
Ask.Double
issues the prompt and returns a double between min and max inclusive.
F
Float(String, float, float)
- Static method in class phw.util.
Ask
Ask.Float
issues the prompt and returns a float between min and max inclusive.
G
getImag()
- Method in class phw.util.
ComplexDouble
getOneTokenReply()
- Static method in class phw.util.
Ask
Ask.getOneTokenReply
returns whether multiple response tokens will be rejected.
getReal()
- Method in class phw.util.
ComplexDouble
I
Int(String, int, int)
- Static method in class phw.util.
Ask
Ask.Int
issues the prompt and returns an int between min and max inclusive.
L
Long(String, long, long)
- Static method in class phw.util.
Ask
Ask.Long
issues the prompt and returns an long between min and max inclusive.
M
modulus()
- Method in class phw.util.
ComplexDouble
modulusSquared()
- Method in class phw.util.
ComplexDouble
mult(ComplexDouble)
- Method in class phw.util.
ComplexDouble
P
phw.util
- package phw.util
This provides some utility classes supporting the
Java Case Studies
course.
S
scale(double)
- Method in class phw.util.
ComplexDouble
set(ComplexDouble)
- Method in class phw.util.
ComplexDouble
set(double, double)
- Method in class phw.util.
ComplexDouble
setImag(double)
- Method in class phw.util.
ComplexDouble
setOneTokenReply(boolean)
- Static method in class phw.util.
Ask
Ask.setOneTokenReply (true)
specifies that more than one token in the user reply will be rejected, even if the first token is valid.
setReal(double)
- Method in class phw.util.
ComplexDouble
Short(String, short, short)
- Static method in class phw.util.
Ask
Ask.Short
issues the prompt and returns a short between min and max inclusive.
string(String)
- Static method in class phw.util.
Ask
Ask.string
issues the prompt and returns the String that is typed.
sub(ComplexDouble)
- Method in class phw.util.
ComplexDouble
V
Void(String)
- Static method in class phw.util.
Ask
Ask.Void
issues the prompt and returns when
is pressed.
A
B
C
D
F
G
I
L
M
P
S
V
Overview
Package
Class
Tree
Deprecated
Index
Help
Java Case Studies
PREV NEXT
FRAMES
NO FRAMES