JSR 139
CLDC 1.1 is an incremental release of CLDC version 1.0. CLDC 1.1 is fully backwards
compatible with CLDC 1.0. Implementation of CLDC 1.1 supports the following:
The support of thread objects to be compliant with J2SE requires the addition of
Thread.getName
classes, fields, and methods supported for CLDC 1.1 compliance:
Classes
System Classes
Java.lang.Thread
Java.lang.String
98
JSR 139 – CLDC 1.1
Floating Point
−
Data Types float and double
−
All floating point byte codes
−
New Data Type classes Float and Double
−
Library classes to handle floating point values
Weak reference
Classes Calender, Date and TimeZone are J2SE compliant
Thread objects to be compliant with J2SE.
and a few new contructors. The following table lists the additional
Additional Fields/Methods
Thread (Runnable target,
String name)
Thread (String name)
String getName ()
Void interrupt ()
Boolean equalIgnoreCase
(String anotherString)
Comments
Allocates a new Thread object
with the given target and name.
Allocates a new Thread object
with the given name
Returns this thread's name
Interrupts this thread
Compares this string to another
String, ignoring case
considerations
16