public Result removeEntry ( Object dependency , Object entry ) { Result result = this . htod . getFromResultPool ( ) ; ValueSet valueSet = ( ValueSet ) dependencyToEntryTable . get ( dependency ) ; if ( valueSet == null ) { return result ; } result . bExist = HTODDynacache . EXIST ; valueSet . remove ( entry ) ; dependencyNotUpdatedTable . remove ( dependency ) ; if ( valueSet . isEmpty ( ) ) { dependencyToEntryTable . remove ( dependency ) ; if ( this . type == DEP_ID_TABLE ) { result . returnCode = this . htod . delValueSet ( HTODDynacache . DEP_ID_DATA , dependency ) ; } else { result . returnCode = this . htod . delValueSet ( HTODDynacache . TEMPLATE_ID_DATA , dependency ) ; } } return result ; }
This removes the specified entry from the specified dependency .