Is is possible to get out of an ArrayList
the first number of the first index?
Here's an Example:
In there are 5 items:
path = {0.5,5.0},{0.6,6.0},{0.7,7.0},{0.8,8.0},{0.9,9.0}
And I want to get the number 5.0
out of {0.5,5.0}
...
I tried it with path.get(0)
But it only gives me {0.5,5.0}
back.
Is it possible to get 5.0
out of it without getting all the other numbers?