/** ******************** Member Functions ************************* */
  public static ArrivalDepartureGenerator getInstance() {
    // If the PredictionGenerator hasn't been created yet then do so now
    if (singleton == null) {
      singleton =
          ClassInstantiator.instantiate(className.getValue(), ArrivalDepartureGenerator.class);
    }

    return singleton;
  }
Example #2
0
 /** Returns URL to use */
 @Override
 protected String getUrl() {
   return mbtaCommuterRailFeedUrl.getValue();
 }