Marin Capranov wrote:2. I need a method that returns one value at a time.
Marin Capranov wrote:I have not dealt with the list in a way that it takes every tenth from the ArrayList. Basically, sounds like a list of sublists, and each sublist should return the smallest value. But the return of the method should return the smallest value of the sublist, then sublist and so on until sublist. Like a loop iteration and per each iteration, which is 10 in total.
distance matrix api provided by Google.
GA to find the shortest path and solve the TSP.
Marin Capranov wrote:Regarding the API documentation is the google Distance Matrix API. I am not sure if I understood your question on that=)
Marin Capranov wrote:By the way, I develop in android 6.0.1 and it does not support streams, hence Java 8.