org.mapdb / Serializer / STRING_ORIGHASH


static val STRING_ORIGHASH: GroupSerializer<String>

A predefined Serializer that handles non-null String whereby Strings are serialized to a UTF-8 encoded format. The Serializer also stores the String's size, allowing it to be used as a GroupSerializer in BTreeMaps.

This Serializer hashes Strings using the original hash code method as opposed to the Serializer#STRING Serializer.

If a null value is passed to the Serializer, a NullPointerException will be thrown.

See Also