public void setChoices ( double [ ] limits , String formats [ ] ) { if ( limits . length != formats . length ) { throw new IllegalArgumentException ( "Array and limit arrays must be of the same length." ) ; } choiceLimits = limits ; choiceFormats = formats ; }
Set the choices to be used in formatting .