Name

UID

Synopsis

A UID is an identifier that is unique with respect to a particular host. UIDs are used internally by RMI’s distributed garbage collector and are generally not dealt with directly in application code.

                  
public final class UID implements Serializable {
// Public Constructors
   public UID();  
   public UID( short num);  
// Public Class Methods
   public static UID read( DataInput in) throws IOException;  
// Public Instance Methods
   public void write( DataOutput out) throws IOException;  
// Public Methods Overriding Object
   public boolean equals( Object obj);  
   public int hashCode();  
   public String toString();  
}

Returned By

UID.read()

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.