Uses of Class
OOPJ_MP.Node

  • Uses of Node in OOPJ_MP

    Methods in OOPJ_MP that return Node
    Modifier and Type
    Method
    Description
    Node.getNext()
    This method returns the reference of next Node
    LinkedList.nodeAt(int Index)
    This method returns the Node which is at given Index Without removing it from list
    LinkedList.pop(int Position)
    This method pop an element for given Position ie.
    LinkedList.pop(int Position, Node Search_Node)
    This method pop an element in respect to another node like pop: node before a node or pop node after the node
    LinkedList.popNodeAt(int Index)
    This Method POP an element from list with given index The element is pop from list also
    LinkedList.toArray()
    This method return a Node array Containing all the element of LinkedList
    Methods in OOPJ_MP that return types with arguments of type Node
    Modifier and Type
    Method
    Description
    LinkedList.iterator()
    This LinkedList class is iterable so to iterate this class using for each loop this is the iterator method
    Methods in OOPJ_MP with parameters of type Node
    Modifier and Type
    Method
    Description
    int
    LinkedList.insert(int Position, Node New_Node)
    This is methid that insert the node at beginning or at end
    int
    LinkedList.insert(int Position, Node Search_Node, Node New_Node)
    This method used to insert the node to Before a Node Or After a Node
    int
    LinkedList.insertAt(int Index, Node New_Node)
    When you want to insert a Node in a specific Index then this method is used
    LinkedList.pop(int Position, Node Search_Node)
    This method pop an element in respect to another node like pop: node before a node or pop node after the node
    int
    LinkedList.searchElement(Node Search_Node)
    This method search the node is available in LinkedList or not if available then it returns the index of node in which the node is present