Skip to content

KECS / com.juanmedina.kecs.entity / View / triples

triples

fun <reified T :Any, reified K :Any, reified V :Any> triples():List<Triple<T, K, V>>

Return a set of Triple from the components of the given type.

This could be use for destructing declarations.

inline fun <reified T :Any, reified K :Any, reified V :Any> triples(receiver: (Triple<T, K, V>) ->Unit):Unit

Send a set of Triple from the components of the given type to a receiver.

This could be use for destructing declarations.

Parameters

receiver - function that will receive the triples.