I have a linked list with for nodes; nodes have a string name and gold amt.
in order the names are tom,lynn,jack,john. node names are passed in from a file then compared to a string typed in a consol widow.

yes .... hhmmmm
i test both to see out put ie
System.out.println(playRing.current.name+name);
and shows that all nodes have there own name and that var name is containing the string passed in by scanner:
var nam = tom
Node : var name
prints
tom: tom
in check
lynn: tom
jack: tom

this works
but when i look for a the second name in the list it does not
tom:lynn
lynn:lynn
jack:lynn
not in check <prints if name was not found

System.out.println(playRing.current.name+name);
all nodes are populated withproper names and variable name is populated with prober scanner string i even trim scanner to make sure i am not takeing white space i ignore caps what i dont understand is why it works if i am checking the name on the firs node but not the othersie
tom:tom
lynn:tom
jack:tom
works
tom:lynn
lynn:lynn
jack:lynn
does not