private static SimpleParameter [ ] createParameterArray ( FormatChar formatChar ) { SimpleParameter [ ] parameters = new SimpleParameter [ MAX_CACHED_PARAMETERS ] ; for ( int index = 0 ; index < MAX_CACHED_PARAMETERS ; index ++ ) { parameters [ index ] = new SimpleParameter ( index , formatChar , FormatOptions . getDefault ( ) ) ; } return parameters ; }
Helper to make reusable default parameter instances for the commonest indices .