class FootFlagEncoder extends AbstractFlagEncoder {

    @Override
    double getSpeed(boolean reverse, IntsRef edgeFlags) {
        double speed = super.getSpeed(reverse, edgeFlags);
        if (speed == getMaxSpeed()) {
            // We cannot be sure if it was a long or a short trip
            return SHORT_TRIP_FERRY_SPEED;
        }
        return speed;
    }

    public  FootFlagEncoder();
    public  FootFlagEncoder(PMap properties);
    public  FootFlagEncoder(String propertiesStr);
    public  FootFlagEncoder(int speedBits, double speedFactor);

}