org.mapdb / Serializer / JAVA

JAVA

static val JAVA: GroupSerializer<Any>

A predefined Serializer that handles non-null Serializable Java objects whereby the standard Java serialization will be applied using java.io.ObjectInputStream and java.io.ObjectOutputStream methods.

This Serializer hashes Objects using a specially tailored hash code method that, in turn, is using the objects own hashCode()

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

See Also
java.io.Serializable