public void deleteClusterByUDescrIdx( CFSecurityAuthorization Authorization, CFSecurityClusterByUDescrIdxKey argKey) { CFSecurityClusterBuff cur; LinkedList<CFSecurityClusterBuff> matchSet = new LinkedList<CFSecurityClusterBuff>(); Iterator<CFSecurityClusterBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFSecurityClusterBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteCluster(Authorization, cur); } }
public void deleteOptFullRangeByTenantIdx( CFSecurityAuthorization Authorization, CFDbTestOptFullRangeByTenantIdxKey argKey) { CFDbTestOptFullRangeBuff cur; LinkedList<CFDbTestOptFullRangeBuff> matchSet = new LinkedList<CFDbTestOptFullRangeBuff>(); Iterator<CFDbTestOptFullRangeBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFDbTestOptFullRangeBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteOptFullRange(Authorization, cur); } }