|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap<K,V>
org.h2.mvstore.MVMap<java.lang.Long,java.lang.Long>
org.h2.test.store.SequenceMap
public class SequenceMap
A custom map returning the keys and values values 1 .. 10.
Nested Class Summary | |
---|---|
static class |
SequenceMap.Builder
A builder for this class. |
Nested classes/interfaces inherited from class org.h2.mvstore.MVMap |
---|
MVMap.MapBuilder<M extends MVMap<K,V>,K,V> |
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from class org.h2.mvstore.MVMap |
---|
currentWriteVersion, root, store, writeVersion |
Constructor Summary | |
---|---|
SequenceMap()
|
Method Summary | |
---|---|
void |
init(MVStore store,
java.util.HashMap<java.lang.String,java.lang.Object> config)
Open this map with the given store and configuration. |
java.util.Set<java.lang.Long> |
keySet()
|
Methods inherited from class org.h2.mvstore.MVMap |
---|
afterWrite, areValuesEqual, beforeWrite, binarySearch, binarySearchPage, ceilingKey, checkConcurrentWrite, clear, containsKey, copyOnWrite, cursor, entrySet, equals, firstKey, floorKey, get, getChildPageCount, getCreateVersion, getFirstLast, getId, getKey, getKeyIndex, getKeyType, getMinMax, getName, getPage, getRoot, getStore, getType, getValueType, getVersion, hashCode, higherKey, isClosed, isEmpty, isReadOnly, keyIterator, keyList, lastKey, lowerKey, newRoot, openVersion, put, put, putIfAbsent, remove, remove, remove, removePage, replace, replace, size, sizeAsLong, splitRootIfNeeded, toString, waitUntilWritten |
Methods inherited from class java.util.AbstractMap |
---|
clone, containsValue, putAll, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
containsValue, putAll, values |
Constructor Detail |
---|
public SequenceMap()
Method Detail |
---|
public void init(MVStore store, java.util.HashMap<java.lang.String,java.lang.Object> config)
MVMap
init
in class MVMap<java.lang.Long,java.lang.Long>
store
- the storeconfig
- the configurationpublic java.util.Set<java.lang.Long> keySet()
keySet
in interface java.util.Map<java.lang.Long,java.lang.Long>
keySet
in class MVMap<java.lang.Long,java.lang.Long>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |