public void remove ( List < Value > values ) { Key [ ] keys = makeSubKeys ( values ) ; List < byte [ ] > digestList = getDigestList ( ) ; // int startIndex = digestList.IndexOf (subKey.digest); // int count = values.Count; // foreach (Key key in keys){ // // client.Delete (this.policy, key); // } // client.Operate(this.policy, this.key, ListOperation.Remove(this.binNameString, startIndex, count)); for ( Key key : keys ) { client . delete ( this . policy , key ) ; digestList . remove ( key . digest ) ; } client . put ( this . policy , this . key , new Bin ( this . binNameString , digestList ) ) ; }
Delete values from list .