K - This typepublic interface IKey<K extends IKey<K>>
RegionKey),
and logical location inside the region (ID).
This class should be immutable.| Modifier and Type | Method and Description |
|---|---|
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 getId()
IKeyProvider.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.RegionKey getRegionKey()
^[a-z0-9\._\-]+$ are not supported. Uppercase characters are not allowed
to avoid case-sensitivity issues across different operating systems.