Example #1
0
 @Override
 public TransitData parseTransitData() {
   if (OrcaTransitData.check(this)) return new OrcaTransitData(this);
   if (ClipperTransitData.check(this)) return new ClipperTransitData(this);
   return null;
 }
Example #2
0
 @Override
 public TransitIdentity parseTransitIdentity() {
   if (OrcaTransitData.check(this)) return OrcaTransitData.parseTransitIdentity(this);
   if (ClipperTransitData.check(this)) return ClipperTransitData.parseTransitIdentity(this);
   return null;
 }