Class NodeTuple

java.lang.Object
org.yaml.snakeyaml.nodes.NodeTuple

public final class NodeTuple
extends java.lang.Object
Stores one key value pair used in a map.
  • Constructor Summary

    Constructors 
    Constructor Description
    NodeTuple​(Node keyNode, Node valueNode)  
  • Method Summary

    Modifier and Type Method Description
    Node getKeyNode()
    Key node.
    Node getValueNode()
    Value node.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getKeyNode

      public Node getKeyNode()
      Key node.
      Returns:
      the node used as key
    • getValueNode

      public Node getValueNode()
      Value node.
      Returns:
      node used as value
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object