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 TypeMethodDescriptionvoidclear()clone()booleancontainsKey(Object key) booleancontainsKey(K key, S shape) booleancontainsValue(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> booleaninthashCode()booleanisEmpty()iterator()intsize()SpatialMap<K,S, V> snapshot()toString()Methods inherited from class swim.spatial.QTreeContext
compare, compareKey, pageShouldMerge, pageShouldSplit, pageSplitSizeMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
compare, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
QTreeMap
-
QTreeMap
-
-
Method Details
-
shapeForm
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceSpatialMap<K,S, V>
-
size
public int size()- Specified by:
sizein interfaceSpatialMap<K,S, V>
-
containsKey
- Specified by:
containsKeyin interfaceSpatialMap<K,S, V>
-
containsKey
- Specified by:
containsKeyin interfaceSpatialMap<K,S, V>
-
containsValue
- Specified by:
containsValuein interfaceSpatialMap<K,S, V>
-
get
- Specified by:
getin interfaceSpatialMap<K,S, V>
-
get
- Specified by:
getin interfaceSpatialMap<K,S, V>
-
put
- Specified by:
putin interfaceSpatialMap<K,S, V>
-
move
- Specified by:
movein interfaceSpatialMap<K,S, V>
-
remove
- Specified by:
removein interfaceSpatialMap<K,S, V>
-
clear
public void clear()- Specified by:
clearin interfaceSpatialMap<K,S, V>
-
updated
-
removed
-
iterator
- Specified by:
iteratorin interfaceSpatialMap<K,S, V>
-
iterator
-
keyIterator
- Specified by:
keyIteratorin interfaceSpatialMap<K,S, V>
-
valueIterator
- Specified by:
valueIteratorin interfaceSpatialMap<K,S, V>
-
snapshot
-
clone
-
copy
-
equals
- Specified by:
equalsin interfaceComparator<K>- Overrides:
equalsin classObject
-
hashCode
public int hashCode() -
debug
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput. -
toString
-
empty
-