use of com.revolsys.io.page.MemoryPageManager in project com.revolsys.open by revolsys.
the class BPlusTreeMap method newInMemory.
public static <K extends Comparable<K>, V> Map<K, V> newInMemory(final PageValueManager<K> keyManager, final PageValueManager<V> valueManager) {
final MemoryPageManager pages = new MemoryPageManager();
final Comparator<K> comparator = new ComparableComparator<>();
return new BPlusTreeMap<>(pages, comparator, keyManager, valueManager);
}
Aggregations