linked list - Is there a Java's public LinkedListNode<E> class to store a temporary node -


i have java's linkedlist<integer> object. want temporarily store node object in linkedlistnode<integer> tempnode, cannot seem find linkedlistnode class in java docs.

is there way store node, java library class or other technique? , without writing our own implementation.

code:

public void method(linkedlist<integer> list){     linkedlistnode<integer> tempnode = list.getfirst();  //<------- tempnode     for( k times){ tempnode = tempnode.next();} } 


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -