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