Java Reference
In-Depth Information
static Float valueOf(String s)
Available in CLDC-NG.
Integer
Table B.78 . Methods of the Class Integer
Method
Availability in CLDC
Integer(int value)
Available in CLDC.
Integer(String s)
Not available in CLDC.
Workaround:
n ew Integer (Integer.parseInt (s));
byte byteValue()
Available in CLDC.
int compareTo(Integer
anotherInteger)
Not available in CLDC. Workaround:
Compare the values of intValue()
int compareTo(Object o)
Not available in CLDC.
static Integer
decode(String nm)
Not available in CLDC.
Workaround: Determine sign and radix using
String.startsWith() , then apply
I nteger.parseInt using the corresponding radix.
double doubleValue() Available in CLDC-NG.
boolean equals(Object obj) Available in CLDC.
float floatValue()
Available in CLDC-NG.
Not available in CLDC.
static Integer getInteger
(String nm)
Workaround:
I nteger.parseInt (System.getProperty(nm));
static Integer getInteger
(String nm, int val)
Not available in CLDC.
Not available in CLDC.
static Integer getInteger
(String nm, Integer val)
Int hashCode()
Available in CLDC.
int intValue()
Available in CLDC.
long longValue()
Available in CLDC.
static int parseInt(String
s)
Available in CLDC.
static int parseInt
(String s, int radix)
Available in CLDC.
short shortValue()
Available in CLDC.
Available in CLDC.
static String
toBinaryString(int i)
static String
toHexString(int i)
Available in CLDC.
static String
toOctalString(int i)
Available in CLDC.
String toString()
Available in CLDC.
static String toString(int
i)
Available in CLDC.
Search WWH ::




Custom Search