src/main/java/org/jsoup/nodes/Node.java
/**
     Get this node's next sibling.
     @return next sibling, or null if this is the last sibling
     */
Get this node's next sibling.
Get this node ' s next sibling .
public Node nextSibling() {
        List<Node> siblings = parentNode.childNodes;
        Integer index = indexInList(this, siblings);
        Validate.notNull(index);
        if (siblings.size() > index+1)
            return siblings.get(index+1);
        else
            return null;
    }
public Node nextSibling ( ) { List < Node > siblings = parentNode . childNodes ; Integer index = indexInList ( this , siblings ) ; Validate . notNull ( index ) ; if ( siblings . size ( ) > index + 1 ) return siblings . get ( index + 1 ) ; else return null ; }
Get this node's next sibling.
Get this node ' s next sibling .