java.lang.Object
swim.spatial.QTreeContext<K,S,V>
- All Implemented Interfaces:
Comparator<QTreeEntry<K,
S, V>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(QTreeEntry<K, S, V> x, QTreeEntry<K, S, V> y) protected int
compareKey
(K x, K y) protected boolean
pageShouldMerge
(QTreePage<K, S, V> page) protected boolean
pageShouldSplit
(QTreePage<K, S, V> page) protected int
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
QTreeContext
public QTreeContext()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<K>
-
compareKey
-
pageSplitSize
protected int pageSplitSize() -
pageShouldSplit
-
pageShouldMerge
-