Class NodePair
java.lang.Object
com.kamikazejam.kamicommon.yaml.util.NodePair
Was a record. This module targets Java 8 so that a 1.8.x server can load it, and records are
Java 16, so the accessors, equality and
toString are spelled out here instead. The
accessor names keep the record's shape (key(), not getKey()), so callers are
unchanged.-
Constructor Details
-
NodePair
public NodePair(String key, org.yaml.snakeyaml.nodes.ScalarNode scalarNode, boolean terminatesInValue)
-
-
Method Details
-
key
-
scalarNode
public org.yaml.snakeyaml.nodes.ScalarNode scalarNode() -
terminatesInValue
public boolean terminatesInValue() -
equals
-
hashCode
-
toString
-