public class StopShort extends Object
Modifier and Type | Field and Description |
---|---|
String |
cluster |
String |
code |
Integer |
dist
Distance to the stop when it is returned from a location-based query.
|
org.onebusaway.gtfs.model.AgencyAndId |
id |
double |
lat |
double |
lon |
String |
name |
Constructor and Description |
---|
StopShort(org.onebusaway.gtfs.model.Stop stop) |
StopShort(org.onebusaway.gtfs.model.Stop stop,
int distance) |
Modifier and Type | Method and Description |
---|---|
static List<StopShort> |
list(Collection<org.onebusaway.gtfs.model.Stop> in) |
public org.onebusaway.gtfs.model.AgencyAndId id
public String code
public String name
public double lat
public double lon
public String cluster
public Integer dist
public StopShort(org.onebusaway.gtfs.model.Stop stop)
public StopShort(org.onebusaway.gtfs.model.Stop stop, int distance)
distance
- in integral meters, to avoid serializing a bunch of decimal places.public static List<StopShort> list(Collection<org.onebusaway.gtfs.model.Stop> in)
Copyright © 2016. All rights reserved.