private CurrencyData getCurrencyData ( String code ) { CurrencyData data = currencies . get ( code ) ; if ( data == null ) { data = new CurrencyData ( ) ; data . setCode ( code ) ; currencies . put ( code , data ) ; } return data ; }
Get or create the currency data object for this code .