|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectelab_stats.Input
public class Input
Una semplice classe per leggere stringhe e numeri dallo standard input.
Field Summary | |
---|---|
private static java.io.BufferedReader |
reader
|
Constructor Summary | |
---|---|
Input()
|
Method Summary | |
---|---|
static double |
readDouble()
Legge una linea di input e la converte in un numero in virgola mobile. |
static int |
readInt()
Legge una linea di input e la converte in un intero. |
static java.lang.String |
readLine()
Legge una linea di input. |
static java.lang.String |
readNonEmptyLine()
Legge una linea di input e la restituisce. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static java.io.BufferedReader reader
Constructor Detail |
---|
public Input()
Method Detail |
---|
public static java.lang.String readLine()
public static java.lang.String readNonEmptyLine()
public static int readInt()
public static double readDouble()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |