TriplePersistentDataType

class TriplePersistentDataType<P1 : Any, C1 : Any, P2 : Any, C2 : Any, P3 : Any, C3 : Any>(val firstType: PersistentDataType<P1, C1>, val secondType: PersistentDataType<P2, C2>, val thirdType: PersistentDataType<P3, C3>) : PersistentDataType<Triple<P1, P2, P3>, Triple<C1, C2, C3>> (source)

Constructors

Link copied to clipboard
constructor(firstType: PersistentDataType<P1, C1>, secondType: PersistentDataType<P2, C2>, thirdType: PersistentDataType<P3, C3>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
@JvmName(name = "createList")
inline fun <P : Any, C : Any> PersistentDataType<P, C>.asList(): ListPersistentDataType<P, C>
Link copied to clipboard
@JvmName(name = "createNullable")
inline fun <P : Any, C : Any> PersistentDataType<P, C>.asNullable(): NullablePersistentDataType<P, C>
Link copied to clipboard
@JvmName(name = "createSet")
inline fun <P : Any, C : Any> PersistentDataType<P, C>.asSet(): SetPersistentDataType<P, C>
Link copied to clipboard
open override fun convertToComplex(primitive: Triple<P1, P2, P3>): Triple<C1, C2, C3>

Converts a primitive data type to a complex data type.

Link copied to clipboard
open override fun convertToPrimitive(complex: Triple<C1, C2, C3>): Triple<P1, P2, P3>

Converts a complex data type to a primitive data type.

Link copied to clipboard
open override fun getComplexType(): KClass<Triple<C1, C2, C3>>

Returns the KClass of the complex data type.

Link copied to clipboard
open override fun getPrimitiveType(): KClass<Triple<P1, P2, P3>>

Returns the KClass of the primitive data type.

Link copied to clipboard
@JvmName(name = "createMap")
infix inline fun <KP : Any, KC : Any, VP : Any, VC : Any> PersistentDataType<KP, KC>.withMap(valueType: PersistentDataType<VP, VC>): MapPersistentDataType<KP, KC, VP, VC>