public class SimpleIO
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
IOError
"Global" variable used for error checking.
|
Constructor and Description |
---|
SimpleIO() |
Modifier and Type | Method and Description |
---|---|
static void |
print(java.lang.Object o)
Generic print.
|
static void |
println(java.lang.Object o)
Generic println.
|
static boolean |
readBoolean()
Reads next boolean from standard input.
|
static byte |
readByte()
Reads next byte from standard input.
|
static char |
readChar()
Reads next char from standard input.
|
static double |
readDouble()
Reads next double from standard input.
|
static float |
readFloat()
Reads next float from standard input.
|
static int |
readInt()
Reads next int from standard input.
|
static java.lang.String |
readLine()
Reads next line from standard input, including empty spaces.
|
static long |
readLong()
Reads next long from standard input.
|
static short |
readShort()
Reads next short from standard input.
|
static java.lang.String |
readString()
Reads next string from standard input.
|
public static boolean IOError
public static void print(java.lang.Object o)
o
- object to printpublic static void println(java.lang.Object o)
o
- object to printpublic static byte readByte()
public static short readShort()
public static int readInt()
public static long readLong()
public static char readChar()
public static float readFloat()
public static double readDouble()
public static boolean readBoolean()
public static java.lang.String readString()
public static java.lang.String readLine()