Integer function ( String arg0 ) { Integer loc0 ; synchronized ( cache ) { loc0 = ( Integer ) cache . get ( arg0 ) ; if ( loc0 == null ) { loc0 = Integer . valueOf ( arg0 ) ; cache . put ( arg0 , loc0 ) ; } } return loc0 ; }
similar to integer #valueof string except it caches the result ina local lru cache of 100 elements , organized by access order . this method must be used in the gnu.java.security and gnu.javax.crypto packages to ensure they would work with a version 1.4 only of the java class library api . concode_field_sep Map cache concode_elem_sep int CACHE_SIZE concode_field_sep boolean removeEldestEntry