Spec-Zone .ru
спецификации, руководства, описания, API
|
NOTE - JDK 1.1.8 is a maintenance release, with no new features over earlier versions of JDK 1.1. In general, documentation that refers to "JDK 1.1" applies equally well to "JDK 1.1.8".
These are the new features in version 1.1 of the JDK. All of the APIs listed here are part of the core Java API, which means they will be available on all platforms and operating systems where the Java 1.1 Virtual Machine is present.
.class
files, images and sounds) can be bundled in a JAR file and subsequently downloaded to a browser in a single HTTP transaction, greatly improving the download speed. The JAR format also supports compression, which reduces the file size, further improving the download time. In addition, the applet author can digitally sign individual entries in a JAR file to authenticate their origin. It is fully backward-compatible with existing applet code and is fully extensible, being written in Java.
java.net
base classes. With JDK 1.1, Socket
and ServerSocket
are non-final, extendable classes. New subclasses of SocketException
have been added for finer granularity in reporting and handling network errors. The class MulticastSocket
moves from sun.net
to java.net
. Also includes general performance improvements and bug fixes.
BigInteger
and
BigDecimal
.
BigInteger
numbers 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, BigInteger
numbers provide operations
for modular arithmetic, GCD calculation, primality testing,
prime generation, single-bit manipulation, and a few other odds and ends.
BigDecimal
numbers are immutable, arbitrary-precision signed decimal
numbers, suitable for monetary calculations. BigDecimal
numbers
provide operations for basic arithmetic, scale manipulation, comparison, format
conversion and hashing.
Byte
and Short
. The abstract class Number
gets two new concrete methods: byteValue
and shortValue
; the default implementations of these use intValue
method. Also includes a new class Void
that is an uninstantiable placeholder class.
The @deprecated tag
- Used in documentation comments for unambiguously marking classes, methods and fields that have been
superseded by new APIs. The compiler issues a warning when it processes source code that uses a deprecated API feature.