Package edu.duke.cs.osprey.tools
Class MapDBTools.SequenceSerializer
java.lang.Object
org.mapdb.serializer.GroupSerializerObjectArray<T>
edu.duke.cs.osprey.tools.MapDBTools.SimpleSerializer<Sequence>
edu.duke.cs.osprey.tools.MapDBTools.SequenceSerializer
- All Implemented Interfaces:
Comparator<Sequence>,org.mapdb.Serializer<Sequence>,org.mapdb.serializer.GroupSerializer<Sequence>
- Enclosing class:
- MapDBTools
-
Field Summary
FieldsFields inherited from class edu.duke.cs.osprey.tools.MapDBTools.SimpleSerializer
DynamicSize, fixedSizeFields inherited from interface org.mapdb.Serializer
BIG_DECIMAL, BIG_INTEGER, BOOLEAN, BYTE, BYTE_ARRAY, BYTE_ARRAY_DELTA, BYTE_ARRAY_DELTA2, BYTE_ARRAY_NOSIZE, CHAR, CHAR_ARRAY, CLASS, DATE, DOUBLE, DOUBLE_ARRAY, ELSA, FLOAT, FLOAT_ARRAY, ILLEGAL_ACCESS, INT_ARRAY, INTEGER, INTEGER_DELTA, INTEGER_PACKED, JAVA, LONG, LONG_ARRAY, LONG_DELTA, LONG_PACKED, RECID, RECID_ARRAY, SHORT, SHORT_ARRAY, STRING, STRING_ASCII, STRING_DELTA, STRING_DELTA2, STRING_INTERN, STRING_NOSIZE, STRING_ORIGHASH, UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdeserialize(org.mapdb.DataInput2 in, int available) getSequenceId(Sequence sequence) voidMethods inherited from class edu.duke.cs.osprey.tools.MapDBTools.SimpleSerializer
fixedSize, isTrustedMethods inherited from class org.mapdb.serializer.GroupSerializerObjectArray
valueArrayCopyOfRange, valueArrayDeleteValue, valueArrayDeserialize, valueArrayEmpty, valueArrayFromArray, valueArrayGet, valueArrayPut, valueArraySearch, valueArraySearch, valueArraySerialize, valueArraySize, valueArrayToArray, valueArrayUpdateValMethods 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, thenComparingLongMethods inherited from interface org.mapdb.serializer.GroupSerializer
nextValue, valueArrayBinaryGet, valueArrayBinarySearchMethods inherited from interface org.mapdb.Serializer
clone, deserializeFromLong, equals, hashCode, needsAvailableSizeHint
-
Field Details
-
seqSpace
-
-
Constructor Details
-
SequenceSerializer
-
-
Method Details
-
serialize
public void serialize(@NotNull org.mapdb.DataOutput2 out, @NotNull Sequence sequence) throws IOException - Throws:
IOException
-
deserialize
- Throws:
IOException
-
compare
-
getSequenceId
-
makeSequenceFromId
-