class GenericDoubleShifts implements ScenarioPerturbation<Double>, ImmutableBean, Serializable {

  public static GenericDoubleShifts of(ShiftType shiftType, DoubleArray shiftAmount) {
    return new GenericDoubleShifts(shiftType, shiftAmount, 0d);
  }

    GenericDoubleShifts(
      ShiftType shiftType,
      DoubleArray shiftAmount,
      double spread);

}