Class Input

java.lang.Object
  |
  +--Input

public class Input
extends java.lang.Object

for reading basic input types


Constructor Summary
Input()
           
 
Method Summary
static boolean readBoolean()
          for reading boolean
static char readChar()
          for reading char
static double readDouble()
          for reading double
static float readFloat()
          for reading float
static int readInt()
          for reading int
static long readLong()
          for reading long
static short readShort()
          for reading short
static java.lang.String readString()
          for reading String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Input

public Input()
Method Detail

readShort

public static short readShort()
for reading short

Returns:
the read short

readInt

public static int readInt()
for reading int

Returns:
the read int

readLong

public static long readLong()
for reading long

Returns:
the read long

readFloat

public static float readFloat()
for reading float

Returns:
the read float

readDouble

public static double readDouble()
for reading double

Returns:
the read double

readChar

public static char readChar()
for reading char

Returns:
the read char

readBoolean

public static boolean readBoolean()
for reading boolean

Returns:
the read boolean

readString

public static java.lang.String readString()
for reading String

Returns:
the read String