public interface KdMap<DataType>
extends java.lang.Iterable<DataType>
DataType identified by KdPoint.| Modifier and Type | Method and Description |
|---|---|
void |
add(KdPoint key,
DataType data)
Adds an item to the map.
|
void |
clear()
Destroys all entries within this map by recreating nodes and indices.
|
boolean |
containsKey(KdPoint key)
Checks, if a specific
KdPoint does exist. |
DataType |
get(KdPoint key)
Returns an object of Type
DataType identified by key. |
int |
getSize() |
void add(KdPoint key, DataType data)
key - KdPoint to identify the new entry.data - Object of Type DataType.boolean containsKey(KdPoint key)
KdPoint does exist.key - The KdPoint being asked for.DataType get(KdPoint key)
DataType identified by key.key - The KdPoint being asked for.add(KdPoint, Object).int getSize()
void clear()