API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.rmi.server. UID View Source
Author(s)
Ann Wollrath
Peter Jones
Since
JDK1.1
Version
1.24, 06/02/23
Serial
Hierarchy
 Object
      UID
Implements
 Serializable
Subclasses
Description
publicfinal class UID
  A UID represents an identifier that is unique over time with respect to the host it is generated on, or one of 216 "well-known" identifiers.
See also:   
Constructors
public UID ()
Generates a UID that is unique over time with respect to the host that it was generated on.
private UID (int unique, long time, short count)
Constructs a UID given data read from a stream.
public UID (short num)
  Creates a "well-known" UID.
Methods
Hide/Show inherited methods
public boolean equals (Object obj)
  Compares the specified object with this UID for equality.
public int hashCode ()
  Returns the hash code value for this UID.
publicstatic UID read (DataInput in) throws IOException
  Constructs and returns a new UID instance by unmarshalling a binary representation from an DataInput instance.
public String toString ()
  Returns a string representation of this UID.
public void write (DataOutput out) throws IOException
  Marshals a binary representation of this UID to a DataOutput instance.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar