A B C D E F G I L M N P R S T U 

A

ARG_ERROR - Static variable in class uk.ac.rhul.cs.oo.Rhul
The arguments is invalid (ex: ==null).

B

booleanToString(boolean) - Static method in class uk.ac.rhul.cs.oo.Rhul
Converts a boolean to a character string (String).

C

charAt(String, int) - Static method in class uk.ac.rhul.cs.oo.Rhul
Extracts the character at a given position in a character string.
charToString(char) - Static method in class uk.ac.rhul.cs.oo.Rhul
Converts a character to a character string (String).
clearArea() - Static method in class uk.ac.rhul.cs.oo.Rhul
Clears the diplay area completely.
compare(String, String) - Static method in class uk.ac.rhul.cs.oo.Rhul
Compares two character strings.
currentToken() - Method in class uk.ac.rhul.cs.oo.MyTokenizer
 

D

doubleToString(double) - Static method in class uk.ac.rhul.cs.oo.Rhul
Converts a double-precision floating point number to a character string (String).
drawArc(int, int, int, int, int) - Static method in class uk.ac.rhul.cs.oo.Rhul
Draws an arc in the display zone.
drawCircle(int, int, int) - Static method in class uk.ac.rhul.cs.oo.Rhul
Draws a circle in the display zone.
drawLine(int, int, int, int) - Static method in class uk.ac.rhul.cs.oo.Rhul
Draws a line between two points in the drawing area.
drawPoint(int, int) - Static method in class uk.ac.rhul.cs.oo.Rhul
Draws a point in the drawing zone.
drawRect(int, int, int, int) - Static method in class uk.ac.rhul.cs.oo.Rhul
Draws an empty rectangle in the display zone.

E

EOF - Static variable in class uk.ac.rhul.cs.oo.MyTokenizer
 
equals(String, String) - Static method in class uk.ac.rhul.cs.oo.Rhul
Tests the equality between two character strings.
exit() - Static method in class uk.ac.rhul.cs.oo.Rhul
Terminates the program.

F

fillArc(int, int, int, int, int) - Static method in class uk.ac.rhul.cs.oo.Rhul
Draws an filled arc in the display zone.
fillCircle(int, int, int) - Static method in class uk.ac.rhul.cs.oo.Rhul
Draws a filled circle in the display zone.
fillRect(int, int, int, int) - Static method in class uk.ac.rhul.cs.oo.Rhul
Draws a filled rectangle in the display zone.
floatToString(float) - Static method in class uk.ac.rhul.cs.oo.Rhul
Converts a single-precision floating point number to a character string (String).
FORMAT_ERROR - Static variable in class uk.ac.rhul.cs.oo.Rhul
The conversion of the character string that was read to the needed data type was not possible.

G

getStatus() - Static method in class uk.ac.rhul.cs.oo.Rhul
Returns the error code of the last I/O operation.

I

intToString(int) - Static method in class uk.ac.rhul.cs.oo.Rhul
Converts an integer to a character string (String).
isOk() - Static method in class uk.ac.rhul.cs.oo.Rhul
This method return the error state of the last I/o operation.

L

length(String) - Static method in class uk.ac.rhul.cs.oo.Rhul
Computes the length of a given character string.
lineno() - Method in class uk.ac.rhul.cs.oo.MyTokenizer
 
longToString(long) - Static method in class uk.ac.rhul.cs.oo.Rhul
Converts a long integer to a character string (String).

M

MyTokenizer - Class in uk.ac.rhul.cs.oo
The MyTokenizer class takes an input stream and parses it into "tokens", allowing the tokens to be read one at a time.
MyTokenizer(Reader) - Constructor for class uk.ac.rhul.cs.oo.MyTokenizer
Create a tokenizer that parses the given character stream.

N

nextToken() - Method in class uk.ac.rhul.cs.oo.MyTokenizer
 
NO_ERROR - Static variable in class uk.ac.rhul.cs.oo.Rhul
The last I/O operation went well.

P

print(char) - Static method in class uk.ac.rhul.cs.oo.Rhul
Prints a character.
print(int) - Static method in class uk.ac.rhul.cs.oo.Rhul
Prints an integer (int)
print(boolean) - Static method in class uk.ac.rhul.cs.oo.Rhul
Prints a boolean (boolean)
print(long) - Static method in class uk.ac.rhul.cs.oo.Rhul
Prints a long integer (long)
print(float) - Static method in class uk.ac.rhul.cs.oo.Rhul
Prints a single-precision floating point number (float)
print(double) - Static method in class uk.ac.rhul.cs.oo.Rhul
Prints a double-precision flooating point number (double)
print(Object) - Static method in class uk.ac.rhul.cs.oo.Rhul
Prints the String representation of an object
print(String) - Static method in class uk.ac.rhul.cs.oo.Rhul
Prints a character string (String)
println(char) - Static method in class uk.ac.rhul.cs.oo.Rhul
Prints a single character (char) followed by a newline.
println(boolean) - Static method in class uk.ac.rhul.cs.oo.Rhul
Prints a boolean (boolean) followed by a newline.
println(int) - Static method in class uk.ac.rhul.cs.oo.Rhul
Prints an integer (int) followed by a newline.
println(long) - Static method in class uk.ac.rhul.cs.oo.Rhul
Prints a long integer (long) followed by a newline.
println(float) - Static method in class uk.ac.rhul.cs.oo.Rhul
Prints a single-precision floating point number (float) followed by a newline.
println(double) - Static method in class uk.ac.rhul.cs.oo.Rhul
Prints a double-precision floating point number (double) followed by a newline.
println(Object) - Static method in class uk.ac.rhul.cs.oo.Rhul
Prints the String representation of an object followed by a newline.
println(String) - Static method in class uk.ac.rhul.cs.oo.Rhul
Prints a character string (String) followed by a newline.
println() - Static method in class uk.ac.rhul.cs.oo.Rhul
Prints a new line.

R

read() - Method in class uk.ac.rhul.cs.oo.MyTokenizer
Read a character
readChar() - Static method in class uk.ac.rhul.cs.oo.Rhul
Reads a character from the keyboard and returns its value.
readDouble() - Static method in class uk.ac.rhul.cs.oo.Rhul
Reads a lexeme from the input and converts it into a double.
readFloat() - Static method in class uk.ac.rhul.cs.oo.Rhul
Reads a lexeme from the input and converts it into a float.
readInt() - Static method in class uk.ac.rhul.cs.oo.Rhul
Reads a lexeme from the input and converts it into an int.
readLine() - Static method in class uk.ac.rhul.cs.oo.Rhul
Read a character string until the next carriage return (end of line).
readLong() - Static method in class uk.ac.rhul.cs.oo.Rhul
Reads a lexeme from the input and converts it into a long.
readString() - Static method in class uk.ac.rhul.cs.oo.Rhul
Reads a lexeme from the input.
Rhul - Class in uk.ac.rhul.cs.oo
The Rhul class features: I/O operations, drawings, some string operations.

S

setColor(int, int, int) - Static method in class uk.ac.rhul.cs.oo.Rhul
Sets the color of the subsequent drawing operations.
setGray(int) - Static method in class uk.ac.rhul.cs.oo.Rhul
Sets the color of the subsequent drawing operations to be grey.
startDrawings() - Static method in class uk.ac.rhul.cs.oo.Rhul
Prepares a drawing zone of size 200x200.
startDrawings(int, int) - Static method in class uk.ac.rhul.cs.oo.Rhul
Prepares a drawing zone of arbitrary size.
stopDrawings() - Static method in class uk.ac.rhul.cs.oo.Rhul
Closes the drawing window.
STREAM_ERROR - Static variable in class uk.ac.rhul.cs.oo.Rhul
Reading the input stream was impossible.
stringToBoolean(String) - Static method in class uk.ac.rhul.cs.oo.Rhul
Converts a character string into a boolean.
stringToByte(String) - Static method in class uk.ac.rhul.cs.oo.Rhul
Converts a character string into a byte.
stringToDouble(String) - Static method in class uk.ac.rhul.cs.oo.Rhul
Converts a character string into a double.
stringToFloat(String) - Static method in class uk.ac.rhul.cs.oo.Rhul
Converts a character string into a float.
stringToInt(String) - Static method in class uk.ac.rhul.cs.oo.Rhul
Converts a character string into an int.
stringToLong(String) - Static method in class uk.ac.rhul.cs.oo.Rhul
Converts a character string into a long.
subString(String, int, int) - Static method in class uk.ac.rhul.cs.oo.Rhul
Extracts a substring from a given character string.

T

TOKEN - Static variable in class uk.ac.rhul.cs.oo.MyTokenizer
 
toString() - Method in class uk.ac.rhul.cs.oo.MyTokenizer
 

U

uk.ac.rhul.cs.oo - package uk.ac.rhul.cs.oo
 
A B C D E F G I L M N P R S T U