package com.amihaiemil.eoyaml;

public enum Node {

    /**
     * Type of {@link Scalar}
     */
    SCALAR,
    /**
     * Type of {@link YamlMapping}
     */
    MAPPING,
    /**
     * Type of {@link YamlStream}
     */
    STREAM,
    /**
     * Type of {@link YamlSequence}
     */
    SEQUENCE

}

package com.amihaiemil.eoyaml;

/**
 * The class is for defining the type of {@link YamlNode}.
 */
public enum Node {

    /**
     * Type of {@link Scalar}.
     */
    SCALAR,
    /**
     * Type of {@link YamlMapping}.
     */
    MAPPING,
    /**
     * Type of {@link YamlStream}.
     */
    STREAM,
    /**
     * Type of {@link YamlSequence}.
     */
    SEQUENCE

}

Update Node.java