Package org.jcsp.net.cns
Class CNS.NameAndLevel
java.lang.Object
org.jcsp.net.cns.CNS.NameAndLevel
- Enclosing class:
- CNS
A data structure for holding a channel name and access level.
This can be used as a key in a Hashtable.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
-
nameAccessLevel
-
-
Constructor Details
-
NameAndLevel
NameAndLevel(String name, NameAccessLevel nameAccessLevel)
-
-
Method Details
-
equals
Compares this object with another object. -
hashCode
public int hashCode()Returns a hash code for this object. -
toString
Returns a human readableString
representation of this NameAccessLevel object.
-