Java Reference
In-Depth Information
Available in CLDC.
static String toString
(int i, int radix)
static Integer
valueOf(String s)
Available in CLDC.
static Integer valueOf
(String s, int radix)
Available in CLDC.
Long
Table B.79. Methods of the Class Long
Method
Availability in CLDC
Long(long value)
Available in CLDC.
Long(String s)
Not available in CLDC.
Workaround:
L ong (Long.parseLong (value);
byte byteValue()
Not available in CLDC.
Workaround:
( byte) longValue();
int compareTo(Long
anotherLong)
Not available in CLDC. Workaround: Compare the values
o f longValue() .
int compareTo(Object o)
Not available in CLDC.
Not available in CLDC.
static Long
decode(String nm)
Workaround: Determine sign and radix using
String.startsWith() , then apply Long.parseLong
u sing the corresponding radix.
double doubleValue()
Available in CLDC-NG.
boolean equals(Object
obj)
Available in CLDC.
float floatValue()
Available in CLDC-NG.
static Long
getLong(String nm)
Not available in CLDC.
Workaround:
L ong.parseLong (System.getProperty (nm));
Not available in CLDC.
static Long getLong
(String nm, long val)
static Long getLong
(String nm, Long val)
Not available in CLDC.
int hashCode()
Available in CLDC.
int intValue()
Not available in CLDC.
Workaround:
( int) longValue()
long longValue()
Available in CLDC.
Static long
parseLong(String s)
Available in CLDC.
Search WWH ::




Custom Search