@ SuppressWarnings ( "unchecked" ) public < T > T getObject ( String key , Class < T > clazz ) { EDBObjectEntry entry = get ( key ) ; return entry == null ? null : ( T ) entry . getValue ( ) ; }
Returns the value of the EDBObjectEntry for the given key casted as the given class . Returns null if there is no element for the given key or the value for the given key is null .