filter States Of Type
inline fun <T : ContractState> Iterable<StateAndRef<ContractState>>.filterStatesOfType(): List<StateAndRef<T>>
Filters a list of StateAndRef objects according to the type of the states
Filters a list of StateAndRef objects according to the type of the states