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