java.rmi.dgc
public final class VMID extends Object implements Serializable
UID
that is
part of this class. The VMID's, created on the same host, but in the two
separately (parallely) running virtual machines are different.Constructor and Description |
---|
VMID()
Create the new VMID.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Returns true if the passed parameter is also VMID and it is equal to this
VMID.
|
int |
hashCode()
Get the hash code of this VMID.
|
static boolean |
isUnique()
Deprecated.
VMID's are more or less always reliable.
|
String |
toString()
Get the string representation of this VMID.
|
public VMID()
public static boolean isUnique()
public int hashCode()
hashCode
in class Object
Object.equals(Object)
,
System.identityHashCode(Object)
public boolean equals(Object obj)
equals
in class Object
obj
- the Object to compare toObject.hashCode()
public String toString()
toString
in class Object
Object.getClass()
,
Object.hashCode()
,
Class.getName()
,
Integer.toHexString(int)