public class Int extends Number
Modifier and Type | Method and Description |
---|---|
static Number |
create(String s) |
double |
doubleValue()
Returns the value of the Integer as double
|
boolean |
equals(Object n) |
float |
floatValue()
Returns the value of the Integer as float
|
int |
intValue()
Returns the value of the Integer as int
|
long |
longValue()
Returns the value of the Integer as long
|
String |
toString() |
compareDoubleValues, getIntegerNumber, toStringSmall
public Int()
public Int(String v) throws NumberFormatException
NumberFormatException
public Int(int v)
public int intValue()
public float floatValue()
floatValue
in class Number
public double doubleValue()
doubleValue
in class Number
public long longValue()
public static Number create(String s) throws NumberFormatException
NumberFormatException
Copyright © 2020–2024 Prolobjectlink Project. All rights reserved.