12 October 2005 - java_dev (original) (raw)

01:21 pm - gyrle - linkedlist there are not (or none that i know of) methods in the linkedlist class that return the value of a node in a linkedlist as integer. the get method returns an object... i need to add and multiply values from the linkedlist, but i cannot apply these opperators to them.ex: n1 and n2 are linkedlistint sum = n1.get(3) + n2.get(3)+carry;doesn't work...is there a way to cast/convert the values in the nodes indivually as integers? or anything that i can do so that i am able to just add them? thanks in advance.