I am having trouble creating a method to scan an Entire linked list, can you help me?
I know some exist such as, preOrder, PostOrder and inOrder, but i need to so something else then simply printing the data at each location. This is the code i want to execute at each location. So i need to be able to Scan each node and run this code.

    if (current.leftChild.iData != '+' && current.rightChild.iData != '+')
	  {
	    if ( current.leftChild.iData != '+')
	    {
	    	if(current.iData != '+')
	 	   {
	 		   insert(current.iData);
	 	   }
	 	   current.iData = '+';
	    }
	      if(current.rightChild.iData != '+')
	      {
	    	  if(current.iData != '+')
	   	   {
	   		   insert(current.iData);
	   	   }
	   	   current.iData = '+';
	      }
	  }
I am having trouble creating a method to scan an Entire linked list, can you help me?
===

I know some exist such as, preOrder, PostOrder and inOrder, but i need to so something else then simply printing the data at each location. This is the code i want to execute at each location. So i need to be able to Scan each node and run this code.

    if (current.leftChild.iData != '+' && current.rightChild.iData != '+')
	  {
	    if ( current.leftChild.iData != '+')
	    {
	    	if(current.iData != '+')
	 	   {
	 		   insert(current.iData);
	 	   }
	 	   current.iData = '+';
	    }
	      if(current.rightChild.iData != '+')
	      {
	    	  if(current.iData != '+')
	   	   {
	   		   insert(current.iData);
	   	   }
	   	   current.iData = '+';
	      }
	  }