textbender.a.r.desk
Class HostServiceRegistry.UniqueID
java.lang.Object
java.lang.Number
java.math.BigInteger
HostServiceRegistry.UniqueID
- All Implemented Interfaces:
- Serializable, Comparable<BigInteger>
- Enclosing interface:
- HostServiceRegistry
@ThreadSafe
public static final class HostServiceRegistry.UniqueID
- extends BigInteger
An identifier, each instance of which is guaranteed to be unique
within a single run of the desk daemon.
It is probably also unique between runs, but that is not guaranteed.
Often used to identify a remote source of data.
Useful where the source cannot be identified by a remote reference
because it does not implement Remote.
Or because it is short lived, and so its references too are short-lived.
(Comparing a reference to remote Applet source, by equals(),
may throw an exception after page exit "Timer already cancelled".)
In these cases, a UniqueID may be used instead.
- See Also:
HostServiceRegistry.nextUniqueID()
,
Serialized Form
Methods inherited from class java.math.BigInteger |
abs, add, and, andNot, bitCount, bitLength, clearBit, compareTo, divide, divideAndRemainder, doubleValue, equals, flipBit, floatValue, gcd, getLowestSetBit, hashCode, intValue, isProbablePrime, longValue, max, min, mod, modInverse, modPow, multiply, negate, nextProbablePrime, not, or, pow, probablePrime, remainder, setBit, shiftLeft, shiftRight, signum, subtract, testBit, toByteArray, toString, toString, valueOf, xor |
HostServiceRegistry.UniqueID
HostServiceRegistry.UniqueID(byte[] val)