use of org.onebusaway.gtfs.serialization.comparators.ServiceCalendarComparator in project onebusaway-gtfs-modules by OneBusAway.
the class GtfsEntitySchemaFactory method getEntityComparators.
public static Map<Class<?>, Comparator<?>> getEntityComparators() {
Map<Class<?>, Comparator<?>> comparators = new HashMap<Class<?>, Comparator<?>>();
comparators.put(Agency.class, getComparatorForIdentityBeanType(Agency.class));
comparators.put(Block.class, getComparatorForIdentityBeanType(Block.class));
comparators.put(Route.class, getComparatorForIdentityBeanType(Route.class));
comparators.put(Stop.class, getComparatorForIdentityBeanType(Stop.class));
comparators.put(Trip.class, getComparatorForIdentityBeanType(Trip.class));
comparators.put(StopTime.class, new StopTimeComparator());
comparators.put(ShapePoint.class, new ShapePointComparator());
comparators.put(ServiceCalendar.class, new ServiceCalendarComparator());
comparators.put(ServiceCalendarDate.class, new ServiceCalendarDateComparator());
return comparators;
}
Aggregations