I currently have the following Node List: {3,2,5,6,2,5}
When I invoke: trailer.getPrev()
the output is 2. The problem is I want to return 5, how do I do this.
I have tried: return trailer; but then I get an error: The trailer node is not a valid position
Thanks for any help.
EDIT: Its a NodePositionList