Class UnmodifiableCommentedConfig.CommentNode
java.lang.Object
com.electronwill.nightconfig.core.UnmodifiableCommentedConfig.CommentNode
- Enclosing interface:
- UnmodifiableCommentedConfig
-
Constructor Summary
ConstructorsConstructorDescriptionCommentNode(String comment, Map<String, UnmodifiableCommentedConfig.CommentNode> children) Creates a new CommentNode. -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
CommentNode
Creates a new CommentNode.Note: The comment and children are never both null.
- Parameters:
comment- the comment, may be nullchildren- the children Map, may be null
-
-
Method Details
-
getComment
- Returns:
- the node's comment
-
getChildren
- Returns:
- the Map of the node's children
-