net.dpml.lang
Class PID

java.lang.Object
  extended bynet.dpml.lang.PID
All Implemented Interfaces:
Serializable

public class PID
extends Object
implements Serializable

The PID class is a process identifer.

Version:
1.0.0
Author:
The Digital Product Meta Library
See Also:
Serialized Form

Constructor Summary
PID()
          Creation of a new process identifier.
 
Method Summary
 boolean equals(Object other)
          Test if a supplied object is equal to this process identifier.
 int getValue()
          Return the process identifier int value.
 int hashCode()
          Return the hashcode for this PID instance.
 String toString()
          Return the string representation of this process identifier.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PID

public PID()
Creation of a new process identifier.

Method Detail

getValue

public int getValue()
Return the process identifier int value.

Returns:
the process id value

toString

public String toString()
Return the string representation of this process identifier.

Returns:
the process identifier as a string

equals

public boolean equals(Object other)
Test if a supplied object is equal to this process identifier.

Parameters:
other - the object to compare with this object
Returns:
TRUE if the objects are equivalent

hashCode

public int hashCode()
Return the hashcode for this PID instance.

Returns:
the hashcode value