public final String getParam ( String key ) { String value = paramStr . get ( key ) ; if ( value == null ) { // check the dbl and int tables Double result = paramDbl . get ( key ) ; if ( result != null ) { value = result . toString ( ) ; } else { Integer intResult = paramInt . get ( key ) ; if ( intResult != null ) { value = intResult . toString ( ) ; } } // save it back off to the string table for next time if ( value != null ) { paramStr . put ( key , value ) ; } } if ( debug && value == null ) { System . out . println ( key + " value not found" ) ; } return value ; }
gets a param and value .