|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcsp.net.AbstractID org.jcsp.net.ApplicationID
public class ApplicationID
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
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
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.
toString
in class Object
String
representing this Application ID.public boolean equals(Object o)
Compares the supplied Object
with this
ApplicationID
.
equals
in class Object
o
- another Object
to compare with
this ApplicationID
.
true
iff the parameter o is an
ApplicationID
that represents the
same application as this object.public int hashCode()
Returns a hash code for this Object. Two equal
ApplicationID
objects return the same hash code.
hashCode
in class Object
int
hash code.public AbstractID getParentID()
NodeID
of this
object.
getParentID
in class AbstractID
NodeID
.
|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |