G
- the group this entity belongs to.public abstract class Entity<G>
extends java.lang.Object
hashCode()
and
equals(Object)
method.Constructor and Description |
---|
Entity() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
equals(java.lang.Object other)
The entity will be used as a key of a map.
|
abstract G |
group()
Note that the group will be used as keys of maps.
|
abstract int |
hashCode()
The entity will be used as a key of a map.
|
public abstract G group()
public abstract int hashCode()
hashCode
in class java.lang.Object
public abstract boolean equals(java.lang.Object other)
equals
in class java.lang.Object