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.
|
FeedScopedId |
id |
double |
lat |
double |
lon |
String |
name |
String |
url |
public FeedScopedId id
public String code
public String name
public double lat
public double lon
public String url
public String cluster
public Integer dist
public StopShort(Stop stop)
public StopShort(Stop stop, int distance)
distance
- in integral meters, to avoid serializing a bunch of decimal places.public static List<StopShort> list(Collection<Stop> in)
Copyright © 2019. All rights reserved.