- Byte, Short, and Void Classes
Bytes and shorts are accommodated as wrapped numbers by adding new classes
Short. The abstract class
Number gets two new concrete methods:
shortValue; the default implementations of these use
intValue method. Also includes a new class
Void that is an uninstantiable placeholder class.
- BigInteger and
BigDecimal Classes -
BigIntegers are immutable arbitrary-precision integers, which provide
analogs to all of Java's primitive integer operators, and all relevant
static methods from java.lang.Math. Additionally, BigIntegers provide
operations for modular arithmetic, GCD calculation, primality testing,
prime generation, single-bit manipulation, and a few other odds and ends.
BigDecimals are immutable, arbitrary-precision signed decimal numbers,
suitable for monetary calculations. BigDecimals provide operations for
basic arithmetic, scale manipulation, comparison, format conversion
- The @deprecated Tag
Used within documentation comments to mark classes and members as "no-longer-preferred", and directs the developer to replacement classes and members.
- Accessing Resource Files
APIs that provide a mechanism for locating resource files in a way that is
independent of the location of the resources. For example, this mechanism
can locate a resource file whether it is an applet loaded from the net
using multiple HTTP connects, an applet loaded using JAR files, or a
"library" installed in the CLASSPATH.
- APPLET Tag
Enhancements to the <APPLET> tag defined in HTML. Loads applets in the applet viewer or a web browser.
Copyright © 1996 Sun Microsystems, Inc., 2550 Garcia Ave., Mtn. View, CA 94043-1100 USA. All rights reserved.