mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 08:49:58 +00:00
Sort suggested locations by hit quality.
This commit is contained in:
parent
e691e7c2fb
commit
68989ec451
24 changed files with 187 additions and 137 deletions
|
@ -20,6 +20,7 @@ package de.schildbach.pte.live;
|
|||
import java.io.IOException;
|
||||
import java.util.Collection;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import de.schildbach.pte.NetworkProvider;
|
||||
import de.schildbach.pte.NetworkProvider.Accessibility;
|
||||
|
@ -61,8 +62,9 @@ public abstract class AbstractProviderLiveTest
|
|||
|
||||
protected final void print(final SuggestLocationsResult result)
|
||||
{
|
||||
System.out.print(result.locations.size() + " ");
|
||||
for (final Location location : result.locations)
|
||||
final List<Location> locations = result.getLocations();
|
||||
System.out.print(locations.size() + " ");
|
||||
for (final Location location : locations)
|
||||
System.out.print(location + " ");
|
||||
System.out.println();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue