public final class EntityID
extends java.lang.Object
Constructor and Description |
---|
EntityID(int id)
Construct a new EntityID object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getValue()
Get the numeric ID for this object.
|
int |
hashCode() |
java.lang.String |
toString() |
public EntityID(int id)
id
- The numeric ID to use.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int getValue()
public java.lang.String toString()
toString
in class java.lang.Object