K - the type of the keys used for mapping the children
V - the type of the values for the nodes
public class ResponseNode<K,V>
Represents a leaf from a tree-like structure.
Every leaf is identified by a key, and can have a value
and/or children of leaves of this type. It's used to
represent a map structure which could have
other objects of the same kind as children.