class CarFlagEncoder extends AbstractFlagEncoder {

    @Override
    public void createEncodedValues(List<EncodedValue> registerNewEncodedValue, String prefix, int index) {
        // first two bits are reserved for route handling in superclass
        super.createEncodedValues(registerNewEncodedValue, prefix, index);
        registerNewEncodedValue.add(avgSpeedEnc = new UnsignedDecimalEncodedValue(EncodingManager.getKey(prefix, "average_speed"), speedBits, speedFactor, speedTwoDirections));
    }

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

}