public int removeKey ( String inputKey ) { String key = Normalizer . normalize ( inputKey , Normalizer . NORMALIZE_LOWER ) ; int num_removed = 0 ; List < String > vals = this . values . remove ( key ) ; if ( null != vals ) { num_removed = vals . size ( ) ; } this . num_items -= num_removed ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "removeKey: key=" + key + " " + num_removed ) ; } return num_removed ; }
Remove an entire key from storage regardless of how many values it may contain .