socialedge / hermes

Municipal Transport Timetable System
GNU General Public License v3.0
4 stars 0 forks source link

Separate Schedule trips into outbound and inbound #182

Closed wingsofovnia closed 6 years ago

wingsofovnia commented 6 years ago
    /**
     * @deprecated trips must be separated into outbound and inbound,
     * since {@link #getInboundTrips()} and {@link #getOutboundTrips()} are
     * just time wasting operations. Moreover, since one {@link Trip} naturally
     * can contain stops on any stations (not only from given {@link #line}), the
     * {@link #matchesRoute(Route, Trip)} will fail to match route for such Trips
     */
    @Deprecated
    private final @NotEmpty List<Trip> trips = new ArrayList<>();