private void convert ( final Object iKey ) { if ( converted ) return ; if ( super . containsKey ( iKey ) ) return ; Object o = underlying . get ( String . valueOf ( iKey ) ) ; if ( o instanceof Number ) super . put ( iKey , enumClass . getEnumConstants ( ) [ ( ( Number ) o ) . intValue ( ) ] ) ; else super . put ( iKey , Enum . valueOf ( enumClass , o . toString ( ) ) ) ; }
Assure that the requested key is converted .