select - corda

corda / net.corda.core.contracts / kotlin.collections.Collection / select

# select

`fun <reified T : CommandData> Collection<CommandWithParties<CommandData>>.select(signer: PublicKey? = null, party: AbstractParty? = null): List<CommandWithParties<T>>`
`fun <C : CommandData> Collection<CommandWithParties<CommandData>>.select(klass: Class<C>, signer: PublicKey? = null, party: AbstractParty? = null): List<CommandWithParties<C>>`

Filters the command list by type, party and public key all at once.

`fun <reified T : CommandData> Collection<CommandWithParties<CommandData>>.select(signers: Collection<PublicKey>?, parties: Collection<Party>?): List<CommandWithParties<T>>`
`fun <C : CommandData> Collection<CommandWithParties<CommandData>>.select(klass: Class<C>, signers: Collection<PublicKey>?, parties: Collection<Party>?): List<CommandWithParties<C>>`

Filters the command list by type, parties and public keys all at once.