Class EasyReader

java.lang.Object
  |
  +--EasyReader

public final class EasyReader
extends java.lang.Object

Provides utility methods to read data from System.in


Method Summary
static byte readByte()
          Reads a byte integer from standard input.
static char readChar()
          Reads a character from standard input.
static double readDouble()
          Reads a double number from standard input.
static float readFloat()
          Reads a float number from standard input.
static int readInt()
          Reads an integer from standard input.
static java.lang.String readLine()
          Reads a line of characters from standard input.
static long readLong()
          Reads a long integer from standard input.
static short readShort()
          Reads a short integer from standard input.
static java.lang.String readWord()
          Reads a word of characters from standard input.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readLine

public static java.lang.String readLine()
Reads a line of characters from standard input.


readWord

public static java.lang.String readWord()
Reads a word of characters from standard input.


readByte

public static byte readByte()
Reads a byte integer from standard input.


readShort

public static short readShort()
Reads a short integer from standard input.


readInt

public static int readInt()
Reads an integer from standard input.


readLong

public static long readLong()
Reads a long integer from standard input.


readDouble

public static double readDouble()
Reads a double number from standard input.


readFloat

public static float readFloat()
Reads a float number from standard input.


readChar

public static char readChar()
Reads a character from standard input.



Hosted by www.Geocities.ws

1