result |
Description |
Scanner
|
new Scanner(System.in) //конструктор
|
BigDecimal |
nextBigDecimal()
Scans the
next token of the input as a BigDecimal . |
BigInteger |
nextBigInteger()
Scans the
next token of the input as a BigInteger . |
BigInteger |
nextBigInteger(int radix)
Scans the
next token of the input as a BigInteger . |
boolean |
nextBoolean()
Scans the
next token of the input into a boolean value and returns that value. |
byte |
nextByte()
Scans the
next token of the input as a byte. |
byte |
nextByte(int radix)
Scans the
next token of the input as a byte. |
double |
nextDouble()
Scans the
next token of the input as a double. |
float |
nextFloat()
Scans the
next token of the input as a float. |
int |
nextInt()
Scans the
next token of the input as an int. |
int |
nextInt(int radix)
Scans the
next token of the input as an int. |
String |
nextLine()
Advances
this scanner past the current line and returns the input that was
skipped. |
long |
nextLong()
Scans the
next token of the input as a long. |
long |
nextLong(int radix)
Scans the
next token of the input as a long. |
short |
nextShort()
Scans the
next token of the input as a short. |
short |
nextShort(int radix)
Scans the
next token of the input as a short. |
String |
next()
Returns the next token from the
scanner. |