CLDC APIs

Packages included in CLDC are java.io, java.lang, java.util, and javax.microedition.io, where javax.microedition.io is mainly a replacement for the missing java.net package. Here, we will give only a short overview of the classes available. Please note that most classes do not provide all the methods of their J2SE counterparts. For detailed information, please consult the CLDC API documentation.

In Appendix B, “Comparison Charts,” you can find a table with hints for mapping functionality of J2SE classes and methods omitted in CLDC. The following classes are available in CLDC 1.1 only: Float, Double, java.lang.ref.Reference, java.lang.ref.Reference, and java.lang.ref. WeakReference.

The java.lang Package

Supported classes from java.lang ...

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.