public V remove ( K key ) { final OClosableEntry < K , V > removed = data . remove ( key ) ; if ( removed != null ) { long preStatus = removed . makeRetired ( ) ; if ( OClosableEntry . isOpen ( preStatus ) ) { countClosedFiles ( ) ; } logRemoved ( removed ) ; return removed . get ( ) ; } return null ; }
Removes item associated with passed in key .