5.4. New for CLDC 1.1

The following list summarizes the Java library changes between CLDC Specification versions 1.0 and 1.1. For details, refer to “CLDC Almanac” on page 359.

  • Classes Float and Double have been added.

  • The following methods have been added to other library classes to handle floating point values:

    • java.lang.Integer.doubleValue()

    • java.lang.Integer.floatValue()

    • java.lang.Long.doubleValue()

    • java.lang.Long.floatValue()

    • java.lang.Math.abs(double a)

    • java.lang.Math.abs(float a)

    • java.lang.Math.max(double a, double b)

    • java.lang.Math.max(float a, float b)

    • java.lang.Math.min(double a, double b)

    • java.lang.Math.min(float a, float b)

    • java.lang.Math.ceil(double ...

Get Programming Wireless Devices with the Java™ 2 Platform, Micro Edition, Second Edition 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.