Forums Register Login

ClassCastException

+Pie Number of slices to send: Send
Why does the following code give me classCastException error
some LinkedList
Integer.parseInt(nonRTarrivalTime.getFirst())
and
((Integer)nonRTarrivalTime.getFirst()).intValue()
I have tried both and they give me the same error.
thanks in advance.
+Pie Number of slices to send: Send
Never mind I casted it to a string and then to int.
"How many licks ..." - I think all of this dog's research starts with these words. Tasty tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 472 times.
Similar Threads
ClassCastException
EJB Problem
ClassCastException
Var args ... explanation needed
Final Class cannot be instantiated
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 15:49:51.