public static interface MapDB.Serializers
| Modifier and Type | Method and Description |
|---|---|
org.mapdb.BTreeKeySerializer<?> |
bTreeKeySerializerFor(Class<?> type,
Comparator<?> comparator,
boolean pack)
Obtain a serializer for the given key type.
|
org.mapdb.Serializer<?> |
serializerFor(Class<?> type)
Obtain a serializer for the given value type.
|
org.mapdb.Serializer<?> serializerFor(Class<?> type)
type - the type; may not be nullorg.mapdb.BTreeKeySerializer<?> bTreeKeySerializerFor(Class<?> type, Comparator<?> comparator, boolean pack)
type - the type; may not be nullcomparator - the comparator; may not be nullpack - true if the serializer can/should pack keys together when possible, or false otherwiseCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.