org.elasticsearch.util.yaml.snakeyaml.nodes
Class NodeTuple

java.lang.Object
  extended by org.elasticsearch.util.yaml.snakeyaml.nodes.NodeTuple

public class NodeTuple
extends java.lang.Object

Stores one key value pair used in a map.


Constructor Summary
NodeTuple(YamlNode keyNode, YamlNode valueNode)
           
 
Method Summary
 YamlNode getKeyNode()
          Key node.
 YamlNode 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 Detail

NodeTuple

public NodeTuple(YamlNode keyNode,
                 YamlNode valueNode)
Method Detail

getKeyNode

public YamlNode getKeyNode()
Key node.


getValueNode

public YamlNode getValueNode()
Value node.

Returns:
value

toString

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