org.jcsp.net
public class ApplicationID extends AbstractID implements Serializable
A Class whose instances represent a unique identifier for a JCSP.NET application. An application is defined as being a process network that forms a complete program. Applications have a parent Node which is the Node on which the application was started.
For a full explanation, see
.
AbstractID
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Compares the supplied
Object with this
ApplicationID . |
AbstractID |
getParentID()
Returns the parent
NodeID of this
object. |
int |
hashCode()
Returns a hash code for this Object.
|
String |
toString()
Returns a
String representation of this object. |
public String toString()
Returns a String
representation of this object.
The current implemenation returns a human readable
String
which shows the application's home
NodeID
and the integer application id.
public boolean equals(Object o)
Compares the supplied Object
with this
ApplicationID
.
public int hashCode()
Returns a hash code for this Object. Two equal
ApplicationID
objects return the same hash code.
public AbstractID getParentID()
NodeID
of this
object.getParentID
in class AbstractID
NodeID
.Submit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.