@FunctionalInterface
public static interface FlatChain.OnElementAddedFunction
FlatChain
. This operation is optionally set when the
FlatChain
is created. See the FlatChain.Builder.onElementAdded(com.thomsonreuters.platformservices.elektron.objects.chain.FlatChain.OnElementAddedFunction)
for more details.Modifier and Type | Method and Description |
---|---|
void |
onElementAdded(long position,
java.lang.String name,
FlatChain chain)
Called by a
FlatChain when a new element is added. |
void onElementAdded(long position, java.lang.String name, FlatChain chain)
FlatChain
when a new element is added.position
- position of the element in the chain (starts at 0).name
- name of the new element.chain
- the FlatChain the new element has been added to.