All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.model.PickDrop Maven / Gradle / Ivy

package org.opentripplanner.model;

public enum PickDrop {
  SCHEDULED(true),
  NONE(false),
  CALL_AGENCY(true),
  COORDINATE_WITH_DRIVER(true),
  CANCELLED(false);

  private final boolean routable;

  PickDrop(boolean routable) {
    this.routable = routable;
  }

  public boolean is(PickDrop value) {
    return this == value;
  }

  public boolean isRoutable() {
    return routable;
  }

  public boolean isNotRoutable() {
    return !routable;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy