java.lang.Object
swim.spatial.QTreeContext<K,S,V>
swim.spatial.QTreeMap<K,S,V>
- All Implemented Interfaces:
Cloneable
,Iterable<SpatialMap.Entry<K,
,S, V>> Comparator<QTreeEntry<K,
,S, V>> Debug
,SpatialMap<K,
S, V>
public class QTreeMap<K,S,V>
extends QTreeContext<K,S,V>
implements SpatialMap<K,S,V>, Comparator<QTreeEntry<K,S,V>>, Cloneable, Debug
-
Nested Class Summary
Nested classes/interfaces inherited from interface swim.spatial.SpatialMap
SpatialMap.Entry<K,
S, V>, SpatialMap.SimpleEntry<K, S, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
clone()
boolean
containsKey
(Object key) boolean
containsKey
(K key, S shape) boolean
containsValue
(Object value) <T> Output<T>
Writes a developer readable, debug-formatted string representation of this object tooutput
.static <K,
S, V> QTreeMap<K, S, V> boolean
int
hashCode()
boolean
isEmpty()
iterator()
int
size()
SpatialMap<K,
S, V> snapshot()
toString()
Methods inherited from class swim.spatial.QTreeContext
compare, compareKey, pageShouldMerge, pageShouldSplit, pageSplitSize
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Comparator
compare, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
QTreeMap
-
QTreeMap
-
-
Method Details
-
shapeForm
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceSpatialMap<K,
S, V>
-
size
public int size()- Specified by:
size
in interfaceSpatialMap<K,
S, V>
-
containsKey
- Specified by:
containsKey
in interfaceSpatialMap<K,
S, V>
-
containsKey
- Specified by:
containsKey
in interfaceSpatialMap<K,
S, V>
-
containsValue
- Specified by:
containsValue
in interfaceSpatialMap<K,
S, V>
-
get
- Specified by:
get
in interfaceSpatialMap<K,
S, V>
-
get
- Specified by:
get
in interfaceSpatialMap<K,
S, V>
-
put
- Specified by:
put
in interfaceSpatialMap<K,
S, V>
-
move
- Specified by:
move
in interfaceSpatialMap<K,
S, V>
-
remove
- Specified by:
remove
in interfaceSpatialMap<K,
S, V>
-
clear
public void clear()- Specified by:
clear
in interfaceSpatialMap<K,
S, V>
-
updated
-
removed
-
iterator
- Specified by:
iterator
in interfaceSpatialMap<K,
S, V>
-
iterator
-
keyIterator
- Specified by:
keyIterator
in interfaceSpatialMap<K,
S, V>
-
valueIterator
- Specified by:
valueIterator
in interfaceSpatialMap<K,
S, V>
-
snapshot
-
clone
-
copy
-
equals
- Specified by:
equals
in interfaceComparator<K>
- Overrides:
equals
in classObject
-
hashCode
public int hashCode() -
debug
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
. -
toString
-
empty
-