org.mapdb / Serializer / INTEGER

INTEGER

static val INTEGER: GroupSerializer<Int>

A predefined Serializer that handles non-null Integer whereby Integers are serialized to a 4 byte format.

This Serializer hashes Integers using the original Integer#hashCode() method.

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