corda / net.corda.client.jfx.utils / MappedList / <init>

# <init>

`MappedList(list: ObservableList<A>, function: (A) -> B)`

This is a variant of EasyBind.map where the mapped list is backed, therefore the mapping function will only be run when an element is inserted or updated. Use this instead of EasyBind.map to trade off memory vs CPU, or if (god forbid) the mapped function is side-effecting.