R S

R

read() - Static method in class SavitchIn
Reads the first byte in the input stream and returns that byte as an int.
readByte() - Static method in class SavitchIn
 
readChar() - Static method in class SavitchIn
Reads the next input character and returns that character.
readDouble() - Static method in class SavitchIn
Precondition: The next input consists of a double value, possibly preceded by white space, but definitely followed by white space.
readFloat() - Static method in class SavitchIn
Precondition: The next input consists of a float value, possibly preceded by white space, but definitely followed by white space.
readInt() - Static method in class SavitchIn
Precondition: The next input in the stream consists of an int value, possibly preceded by white space, but definitely followed by white space.
readLine() - Static method in class SavitchIn
Reads a line of text and returns that line as a String value.
readLineBoolean() - Static method in class SavitchIn
Input should consist of a single word on a line, possibly surrounded by white space.
readLineByte() - Static method in class SavitchIn
Precondition: The user has entered a number of type byte on a line by itself, except that there may be white space before and/or after the number.
readLineDouble() - Static method in class SavitchIn
Precondition: The user has entered a number of type double on a line by itself, except that there may be white space before and/or after the number.
readLineFloat() - Static method in class SavitchIn
Precondition: The user has entered a number of type float on a line by itself, except that there may be white space before and/or after the number.
readLineInt() - Static method in class SavitchIn
Precondition: The user has entered a number of type int on a line by itself, except that there may be white space before and/or after the number.
readLineLong() - Static method in class SavitchIn
Precondition: The user has entered a number of type long on a line by itself, except that there may be white space before and/or after the number.
readLineNonwhiteChar() - Static method in class SavitchIn
Reads the first nonwhite character on a line and returns that character.
readLineShort() - Static method in class SavitchIn
Precondition: The user has entered a number of type short on a line by itself, except that there may be white space before and/or after the number.
readLineWord() - Static method in class SavitchIn
Reads the first string of nonwhite characters on a line and returns that string.
readLong() - Static method in class SavitchIn
Precondition: The next input consists of a long value, possibly preceded by white space, but definitely followed by white space.
readNonwhiteChar() - Static method in class SavitchIn
Reads the next nonwhite input character and returns that character.
readShort() - Static method in class SavitchIn
 
readWord() - Static method in class SavitchIn
Reads the first string of nonwhite characters and returns that string.

S

SavitchIn - class SavitchIn.
Class for simple console input.
SavitchIn() - Constructor for class SavitchIn
 

R S