public interface MutableYamlMapping extends YamlMapping, MutableYamlNode
YamlMappingUNNAMED_NODE| Modifier and Type | Method and Description |
|---|---|
void |
addChild(String name,
YamlNode node)
Adds a new child node to the mapping with the provided name
|
void |
removeChild(String name)
Removes a child with the given name if exists
|
child, childAsMapping, childAsScalar, childAsScalarValue, childAsScalarValue, childAsSequence, childrenPairschildCount, childrensetNodeNamevoid addChild(String name, YamlNode node)
name - The name of the new childnode - The child nodevoid removeChild(String name)
name - The name of the child to removeCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.