Create a pure identifier that is unique with respect to the
host on which it is generated. This UID is unique under the
following conditions: a) the machine takes more than one second
to reboot, and b) the machine's clock is never set backward.
In order to construct a UID that is globally unique, simply
pair a UID with an InetAddress.
public UID(short num)
Create a "well-known" ID. There are 2^16 -1 such possible
well-known ids. An id generated via this constructor will not
clash with any id generated via the default UID
constructor which will generates a genuinely unique identifier
with respect to this host.
Submit a bug or feature - Version 1.1.8 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1995-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.