org.mapdb.serializer / SerializerClass

SerializerClass

open class SerializerClass : GroupSerializerObjectArray<Class<*>>

Serialier for class. It takes a class loader as constructor param, by default it uses Thread.currentThread().getContextClassLoader()



Constructors

<init> SerializerClass(classLoader: ClassLoader)
SerializerClass()

Functions

deserialize open fun deserialize(in: DataInput2, available: Int): Class<*>
equals open fun equals(a1: Class<*>, a2: Class<*>): Boolean
hashCode open fun hashCode(aClass: Class<*>, seed: Int): Int
isTrusted open fun isTrusted(): Boolean
serialize open fun serialize(out: DataOutput2, value: Class<*>): Unit

Inherited Functions

valueArrayCopyOfRange open fun valueArrayCopyOfRange(vals: Any, from: Int, to: Int): Array<Any>
valueArrayDeleteValue open fun valueArrayDeleteValue(vals: Any, pos: Int): Array<Any>
valueArrayDeserialize open fun valueArrayDeserialize(in: DataInput2, size: Int): Array<Any>
valueArrayEmpty open fun valueArrayEmpty(): Array<Any>
valueArrayFromArray open fun valueArrayFromArray(objects: Array<Any>): Array<Any>
valueArrayGet open fun valueArrayGet(vals: Any, pos: Int): A
valueArraySerialize open fun valueArraySerialize(out: DataOutput2, vals: Any): Unit
valueArraySize open fun valueArraySize(vals: Any): Int
valueArrayToArray open fun valueArrayToArray(vals: Any): Array<Any>