Package org.h2.test.store
Class SequenceMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- org.h2.mvstore.MVMap<java.lang.Long,java.lang.Long>
-
- org.h2.test.store.SequenceMap
-
- All Implemented Interfaces:
java.util.concurrent.ConcurrentMap<java.lang.Long,java.lang.Long>,java.util.Map<java.lang.Long,java.lang.Long>
public class SequenceMap extends MVMap<java.lang.Long,java.lang.Long>
A custom map returning the keys and values 1 .. 10.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSequenceMap.BuilderA builder for this class.-
Nested classes/interfaces inherited from class org.h2.mvstore.MVMap
MVMap.BasicBuilder<M extends MVMap<K,V>,K,V>, MVMap.Decision, MVMap.DecisionMaker<V>, MVMap.MapBuilder<M extends MVMap<K,V>,K,V>
-
-
Constructor Summary
Constructors Constructor Description SequenceMap(java.util.Map<java.lang.String,java.lang.Object> config, DataType<java.lang.Long> keyType, DataType<java.lang.Long> valueType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.Long>keySet()-
Methods inherited from class org.h2.mvstore.MVMap
append, asString, beforeWrite, ceilingKey, clear, cloneIt, containsKey, createEmptyLeaf, createEmptyNode, cursor, cursor, cursor, entrySet, equals, firstKey, floorKey, flushAndGetRoot, get, get, getChildPageCount, getId, getKey, getKeyIndex, getKeyType, getName, getRoot, getRootPage, getStore, getType, getValueType, getVersion, hashCode, higherKey, higherKey, isClosed, isEmpty, isPersistent, isReadOnly, isVolatile, keyIterator, keyIteratorReverse, keyList, lastKey, lowerKey, lowerKey, openVersion, operate, put, putIfAbsent, registerUnsavedMemory, remove, remove, replace, replace, setVolatile, size, sizeAsLong, toString, trimLast, tryLock, unlockRoot, updateRoot
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
-