List of usage examples for java.util LinkedList iterator
Iterator<E> iterator();
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_0.CFAstRam.CFAstRamISOCurrencyTable.java
public void deleteISOCurrencyByCcyCdIdx(CFAstAuthorization Authorization, CFAstISOCurrencyByCcyCdIdxKey argKey) { CFAstISOCurrencyBuff cur;// w w w. j a va 2 s .c o m LinkedList<CFAstISOCurrencyBuff> matchSet = new LinkedList<CFAstISOCurrencyBuff>(); Iterator<CFAstISOCurrencyBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFAstISOCurrencyBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteISOCurrency(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_0.CFAstRam.CFAstRamISOCurrencyTable.java
public void deleteISOCurrencyByCcyNmIdx(CFAstAuthorization Authorization, CFAstISOCurrencyByCcyNmIdxKey argKey) { CFAstISOCurrencyBuff cur;/*from w ww .j a v a 2 s .c om*/ LinkedList<CFAstISOCurrencyBuff> matchSet = new LinkedList<CFAstISOCurrencyBuff>(); Iterator<CFAstISOCurrencyBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFAstISOCurrencyBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteISOCurrency(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskRam.CFAsteriskRamISOCountryTable.java
public void deleteISOCountryByIdIdx(CFSecurityAuthorization Authorization, CFSecurityISOCountryPKey argKey) { CFSecurityISOCountryBuff cur;// www.ja v a2s.c o m LinkedList<CFSecurityISOCountryBuff> matchSet = new LinkedList<CFSecurityISOCountryBuff>(); Iterator<CFSecurityISOCountryBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFSecurityISOCountryBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteISOCountry(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamRam.CFBamRamSecDeviceTable.java
public void deleteSecDeviceByIdIdx(CFSecurityAuthorization Authorization, CFSecuritySecDevicePKey argKey) { boolean anyNotNull = false; anyNotNull = true;//w w w.j a va 2 s .com anyNotNull = true; if (!anyNotNull) { return; } CFSecuritySecDeviceBuff cur; LinkedList<CFSecuritySecDeviceBuff> matchSet = new LinkedList<CFSecuritySecDeviceBuff>(); Iterator<CFSecuritySecDeviceBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFSecuritySecDeviceBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); cur = schema.getTableSecDevice().readDerivedByIdIdx(Authorization, cur.getRequiredSecUserId(), cur.getRequiredDevName()); deleteSecDevice(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamRam.CFBamRamSecDeviceTable.java
public void deleteSecDeviceByUserIdx(CFSecurityAuthorization Authorization, CFSecuritySecDeviceByUserIdxKey argKey) { CFSecuritySecDeviceBuff cur;// w w w. j a v a2s.c o m boolean anyNotNull = false; anyNotNull = true; if (!anyNotNull) { return; } LinkedList<CFSecuritySecDeviceBuff> matchSet = new LinkedList<CFSecuritySecDeviceBuff>(); Iterator<CFSecuritySecDeviceBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFSecuritySecDeviceBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); cur = schema.getTableSecDevice().readDerivedByIdIdx(Authorization, cur.getRequiredSecUserId(), cur.getRequiredDevName()); deleteSecDevice(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskRam.CFAsteriskRamISOCountryTable.java
public void deleteISOCountryByISOCodeIdx(CFSecurityAuthorization Authorization, CFSecurityISOCountryByISOCodeIdxKey argKey) { CFSecurityISOCountryBuff cur;/*from w w w .jav a 2 s . co m*/ LinkedList<CFSecurityISOCountryBuff> matchSet = new LinkedList<CFSecurityISOCountryBuff>(); Iterator<CFSecurityISOCountryBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFSecurityISOCountryBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteISOCountry(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskRam.CFAsteriskRamISOCountryTable.java
public void deleteISOCountryByNameIdx(CFSecurityAuthorization Authorization, CFSecurityISOCountryByNameIdxKey argKey) { CFSecurityISOCountryBuff cur;//from w ww . j a va2 s .c o m LinkedList<CFSecurityISOCountryBuff> matchSet = new LinkedList<CFSecurityISOCountryBuff>(); Iterator<CFSecurityISOCountryBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFSecurityISOCountryBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteISOCountry(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskRam.CFAsteriskRamISOCurrencyTable.java
public void deleteISOCurrencyByIdIdx(CFSecurityAuthorization Authorization, CFSecurityISOCurrencyPKey argKey) { CFSecurityISOCurrencyBuff cur;/*from w w w . jav a 2 s .com*/ LinkedList<CFSecurityISOCurrencyBuff> matchSet = new LinkedList<CFSecurityISOCurrencyBuff>(); Iterator<CFSecurityISOCurrencyBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFSecurityISOCurrencyBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteISOCurrency(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskRam.CFAsteriskRamISOCurrencyTable.java
public void deleteISOCurrencyByCcyCdIdx(CFSecurityAuthorization Authorization, CFSecurityISOCurrencyByCcyCdIdxKey argKey) { CFSecurityISOCurrencyBuff cur;//from w ww. j a v a 2 s . c o m LinkedList<CFSecurityISOCurrencyBuff> matchSet = new LinkedList<CFSecurityISOCurrencyBuff>(); Iterator<CFSecurityISOCurrencyBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFSecurityISOCurrencyBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteISOCurrency(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskRam.CFAsteriskRamISOCurrencyTable.java
public void deleteISOCurrencyByCcyNmIdx(CFSecurityAuthorization Authorization, CFSecurityISOCurrencyByCcyNmIdxKey argKey) { CFSecurityISOCurrencyBuff cur;/*ww w. j ava2 s.co m*/ LinkedList<CFSecurityISOCurrencyBuff> matchSet = new LinkedList<CFSecurityISOCurrencyBuff>(); Iterator<CFSecurityISOCurrencyBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFSecurityISOCurrencyBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteISOCurrency(Authorization, cur); } }