Code example for Node

Methods: getNodeValue

0
    public Node getDesc(){
        return desc;
    } 
     
    public String toString(){
        return node.getNodeValue();
    } 
} 
Connect your IDE to all the code out there  Get Codota for Java