component/src/main/java/org/wso2/extension/siddhi/execution/extrema/util/DoublyLinkedList.java
public ListNode<T> addAfterNode(ListNode<T> node, T value) {
        ListNode<T> newNode = new ListNode<T>(value);
        addAfterNode(node, newNode);
        return newNode;
    }
/**
     * Add a node with value after the node specified
     *
     * @param node  The node after which the new node should be added
     * @param value The value of the node to be added
     * @return The new list
     */
Add a node with value after the node specified
@param node  The node after which the new node should be added
@param value The value of the node to be added
@return The new list
Add a node with value after the node specified @param node The node after which the new node should be added @param value The value of the node to be added @return The new list
public ListNode<T> addAfterNode(ListNode<T> node, T value) {
        ListNode<T> newNode = new ListNode<T>(value);
        addAfterNode(node, newNode);
        return newNode;
    }
public ListNode < T > addAfterNode ( ListNode < T > node , T value ) { ListNode < T > newNode = new ListNode < T > ( value ) ; addAfterNode ( node , newNode ) ; return newNode ; }
Add a node with value after the node specified
 @param node  The node after which the new node should be added
 @param value The value of the node to be added
 @return The new list
Add a node with value after the node specified @param node The node after which the new node should be added @param value The value of the node to be added @return The new list