java.lang.ref

Table B.87. Classes of the java.lang.ref Package
J2SE Classes Availability in PDAP
PhantomReference Not available in CLDC.
Reference Partially contained in CLDC-NG; see Table B.88 for details.
ReferenceQueue Not available in CLDC.
SoftReference Not available in CLDC.
WeakReference Partially contained; see Table B.89 for details.

Reference

Table B.88. Methods of the Class Reference
Method Availability in CLDC
void clear() Available in CLDC-NG.
boolean enqueue() Not available in CLDC.
Object get() Available in CLDC-NG.
boolean isEnqueued() Not available in CLDC.

WeakReference

Table B.89. Methods of the Class WeakReference
Method Availability in CLDC
WeakReference(Object referent) Available in CLDC-NG.
WeakReference(Object referent, ...

Get Java™ 2 Micro Edition Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.