public final class NameHash
extends java.lang.Object
implements java.io.Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
NameHash(java.lang.String _name,
UseScope _scope,
int _hash) |
| Modifier and Type | Method and Description |
|---|---|
static NameHash |
create(java.lang.String _name,
UseScope _scope,
int _hash) |
boolean |
equals(java.lang.Object obj) |
int |
hash() |
int |
hashCode() |
java.lang.String |
name() |
static NameHash |
of(java.lang.String _name,
UseScope _scope,
int _hash) |
UseScope |
scope() |
java.lang.String |
toString() |
NameHash |
withHash(int hash) |
NameHash |
withName(java.lang.String name) |
NameHash |
withScope(UseScope scope) |
protected NameHash(java.lang.String _name,
UseScope _scope,
int _hash)
public java.lang.String name()
public UseScope scope()
public int hash()
public NameHash withName(java.lang.String name)
public NameHash withHash(int hash)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object