ComponentGroup.<init> - corda

corda / net.corda.core.transactions / ComponentGroup / <init>

# <init>

`ComponentGroup(groupIndex: Int, components: List<OpaqueBytes>)`

A ComponentGroup is used to store the full list of transaction components of the same type in serialised form. Practically, a group per component type of a transaction is required; thus, there will be a group for input states, a group for all attachments (if there are any) etc.