public < T > T getAsType ( Class < T > type , String key ) { return getAsTypeWithDefault ( type , key , null ) ; }
Converts map element into a value defined by specied typecode . If conversion is not possible it returns default value for the specified type .