@ SuppressWarnings ( "unchecked" ) public static < OBJ > OBJ removeObject ( String key ) { if ( ! exists ( ) ) { throwThreadCacheNotInitializedException ( key ) ; } return ( OBJ ) threadLocal . get ( ) . remove ( key ) ; }
Remove the value of the object from the cache .