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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -