Back to project page GoogleDirectionsClient.
The source code is released under:
Apache License
If you think the Android project GoogleDirectionsClient listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.manuelpeinado.googledirectionsclient; /* w ww . j a v a 2 s. c o m*/ import java.util.ArrayList; import java.util.Collection; import java.util.List; public class Leg { public Distance distance; public Duration duration; public List<Step> steps; public Collection<Step> getStepList() { List<Step> result = new ArrayList<Step>(); for (Step step : steps) { result.add(step); } return result; } }