static class CNS.NameAndLevel
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
name |
private NameAccessLevel |
nameAccessLevel |
| Constructor and Description |
|---|
NameAndLevel(java.lang.String name,
NameAccessLevel nameAccessLevel) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compares this object with another object.
|
int |
hashCode()
Returns a hash code for this object.
|
java.lang.String |
toString()
Returns a human readable
String representation of this NameAccessLevel object. |
private java.lang.String name
private NameAccessLevel nameAccessLevel
NameAndLevel(java.lang.String name,
NameAccessLevel nameAccessLevel)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - An object to compare with this object.true iff o is a non-null NameAndLevel
object which represents the same name and level as this object.public int hashCode()
hashCode in class java.lang.Objectint hash code for this object.public java.lang.String toString()
String representation of this NameAccessLevel object.toString in class java.lang.ObjectString object.