Class UnmodifiableCommentedConfig.CommentNode

  • Enclosing interface:
    UnmodifiableCommentedConfig

    public static final class UnmodifiableCommentedConfig.CommentNode
    extends java.lang.Object
    • Constructor Detail

      • CommentNode

        public CommentNode​(java.lang.String comment,
                           java.util.Map<java.lang.String,​UnmodifiableCommentedConfig.CommentNode> children)
        Creates a new CommentNode.

        Note: The comment and children are never both null.

        Parameters:
        comment - the comment, may be null
        children - the children Map, may be null
    • Method Detail

      • getComment

        public java.lang.String getComment()
        Returns:
        the node's comment