public class EntryLocation3D extends java.lang.Object implements IKey<EntryLocation3D>
| Modifier and Type | Class and Description |
|---|---|
static class |
EntryLocation3D.Provider |
| Modifier and Type | Field and Description |
|---|---|
static int |
ENTRIES_PER_REGION |
| Constructor and Description |
|---|
EntryLocation3D(int entryX,
int entryY,
int entryZ) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getEntryX() |
int |
getEntryY() |
int |
getEntryZ() |
int |
getId()
Gets the index of this key in the region associated with
this region location
The index must be grater than or equal to 0 AND less than
IKeyProvider.getKeyCount(RegionKey). |
RegionKey |
getRegionKey()
Gets the region's key.
|
int |
hashCode() |
java.lang.String |
toString() |
public static final int ENTRIES_PER_REGION
public int getEntryX()
public int getEntryY()
public int getEntryZ()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic RegionKey getRegionKey()
IKey^[a-z0-9\._\-]+$ are not supported. Uppercase characters are not allowed
to avoid case-sensitivity issues across different operating systems.getRegionKey in interface IKey<EntryLocation3D>public int getId()
IKeyIKeyProvider.getKeyCount(RegionKey).
The index must be unique within one region. Specifically, for any 2 IKey objects of the same type,
k1.getRegionKey().equals(k2.getRegionKey()) && k1.getId() != k2.getId() must always be true.getId in interface IKey<EntryLocation3D>public java.lang.String toString()
toString in class java.lang.Object