public HelpTopicNode getNextSibling() {
        int i = getIndex() + 1;
        return i == 0 || i == parent.children.size() ? null : parent.children.get(i);
    }
public HelpTopicNode getNextSibling ( ) { int i = getIndex ( ) + 1 ; return i == 0 || i == parent . children . size ( ) ? null : parent . children . get ( i ) ; }
Returns the first sibling node after this one.

@return Next sibling node (may be null).