public class MappingNode extends CollectionNode<NodeTuple>
A map is a collection of unsorted key-value pairs.
Constructor and Description |
---|
MappingNode(Tag tag,
boolean resolved,
List<NodeTuple> value,
FlowStyle flowStyle,
Optional<Mark> startMark,
Optional<Mark> endMark) |
MappingNode(Tag tag,
List<NodeTuple> value,
FlowStyle flowStyle) |
Modifier and Type | Method and Description |
---|---|
NodeType |
getNodeType() |
List<NodeTuple> |
getValue()
Returns the entries of this map.
|
boolean |
isMerged() |
void |
setMerged(boolean merged) |
void |
setValue(List<NodeTuple> mergedValue) |
String |
toString() |
getFlowStyle, setEndMark, setFlowStyle
equals, getAnchor, getEndMark, getProperty, getStartMark, getTag, hashCode, isRecursive, setAnchor, setProperty, setRecursive, setTag
public MappingNode(Tag tag, boolean resolved, List<NodeTuple> value, FlowStyle flowStyle, Optional<Mark> startMark, Optional<Mark> endMark)
public NodeType getNodeType()
getNodeType
in class Node
public List<NodeTuple> getValue()
getValue
in class CollectionNode<NodeTuple>
public void setMerged(boolean merged)
merged
- - true if map contains merge nodepublic boolean isMerged()
Copyright © 2021 Hazelcast, Inc.. All rights reserved.