List of usage examples for java.util LinkedList iterator
Iterator<E> iterator();
From source file:net.sourceforge.msscodefactory.cfensyntax.v2_2.CFEnSyntaxRam.CFEnSyntaxRamEnDeterminerTable.java
public void deleteEnDeterminerByScopeIdx(CFEnSyntaxAuthorization Authorization, CFEnSyntaxEnglishParseByScopeIdxKey argKey) { CFEnSyntaxEnDeterminerBuff cur;// ww w . j a v a 2 s . c om LinkedList<CFEnSyntaxEnDeterminerBuff> matchSet = new LinkedList<CFEnSyntaxEnDeterminerBuff>(); Iterator<CFEnSyntaxEnDeterminerBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFEnSyntaxEnDeterminerBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteEnDeterminer(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfensyntax.v2_2.CFEnSyntaxRam.CFEnSyntaxRamEnDeterminerTable.java
public void deleteEnDeterminerByUNameIdx(CFEnSyntaxAuthorization Authorization, CFEnSyntaxEnglishParseByUNameIdxKey argKey) { CFEnSyntaxEnDeterminerBuff cur;/* w w w . j a v a2 s. c o m*/ LinkedList<CFEnSyntaxEnDeterminerBuff> matchSet = new LinkedList<CFEnSyntaxEnDeterminerBuff>(); Iterator<CFEnSyntaxEnDeterminerBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFEnSyntaxEnDeterminerBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteEnDeterminer(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccRam.CFAccRamProjectBaseTable.java
public void deleteProjectBaseByTenantIdx(CFAccAuthorization Authorization, CFAccDomainBaseByTenantIdxKey argKey) { final String S_ProcName = "deleteProjectBaseByTenantIdx"; CFAccProjectBaseBuff cur;//from w w w . j a v a 2s . c o m LinkedList<CFAccProjectBaseBuff> matchSet = new LinkedList<CFAccProjectBaseBuff>(); Iterator<CFAccProjectBaseBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFAccProjectBaseBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); String subClassCode = cur.getClassCode(); if ("BPRJ".equals(subClassCode)) { schema.getTableProjectBase().deleteProjectBase(Authorization, cur); } else if ("RPRJ".equals(subClassCode)) { schema.getTableRealProject().deleteRealProject(Authorization, (CFAccRealProjectBuff) cur); } else if ("TPRJ".equals(subClassCode)) { schema.getTableTopProject().deleteTopProject(Authorization, (CFAccTopProjectBuff) cur); } else if ("SPRJ".equals(subClassCode)) { schema.getTableSubProject().deleteSubProject(Authorization, (CFAccSubProjectBuff) cur); } else if ("VERN".equals(subClassCode)) { schema.getTableVersion().deleteVersion(Authorization, (CFAccVersionBuff) cur); } else if ("MJVR".equals(subClassCode)) { schema.getTableMajorVersion().deleteMajorVersion(Authorization, (CFAccMajorVersionBuff) cur); } else if ("MNVR".equals(subClassCode)) { schema.getTableMinorVersion().deleteMinorVersion(Authorization, (CFAccMinorVersionBuff) cur); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), S_ProcName, "subClassCode", cur, "Instance of or subclass of ProjectBase must not be \"" + subClassCode + "\""); } } }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_0.CFAstRam.CFAstRamProjectBaseTable.java
public void deleteProjectBaseByTenantIdx(CFAstAuthorization Authorization, CFAstDomainBaseByTenantIdxKey argKey) { final String S_ProcName = "deleteProjectBaseByTenantIdx"; CFAstProjectBaseBuff cur;/* ww w . jav a2s. c om*/ LinkedList<CFAstProjectBaseBuff> matchSet = new LinkedList<CFAstProjectBaseBuff>(); Iterator<CFAstProjectBaseBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFAstProjectBaseBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); String subClassCode = cur.getClassCode(); if ("BPRJ".equals(subClassCode)) { schema.getTableProjectBase().deleteProjectBase(Authorization, cur); } else if ("RPRJ".equals(subClassCode)) { schema.getTableRealProject().deleteRealProject(Authorization, (CFAstRealProjectBuff) cur); } else if ("TPRJ".equals(subClassCode)) { schema.getTableTopProject().deleteTopProject(Authorization, (CFAstTopProjectBuff) cur); } else if ("SPRJ".equals(subClassCode)) { schema.getTableSubProject().deleteSubProject(Authorization, (CFAstSubProjectBuff) cur); } else if ("VERN".equals(subClassCode)) { schema.getTableVersion().deleteVersion(Authorization, (CFAstVersionBuff) cur); } else if ("MJVR".equals(subClassCode)) { schema.getTableMajorVersion().deleteMajorVersion(Authorization, (CFAstMajorVersionBuff) cur); } else if ("MNVR".equals(subClassCode)) { schema.getTableMinorVersion().deleteMinorVersion(Authorization, (CFAstMinorVersionBuff) cur); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), S_ProcName, "subClassCode", cur, "Instance of or subclass of ProjectBase must not be \"" + subClassCode + "\""); } } }
From source file:net.sourceforge.msscodefactory.cfcore.v2_1.CFGenKbRam.CFGenKbRamISOCurrencyTable.java
public void deleteISOCurrencyByCcyCdIdx(CFGenKbAuthorization Authorization, CFGenKbISOCurrencyByCcyCdIdxKey argKey) { CFGenKbISOCurrencyBuff cur;// w w w. ja va2 s. c o m LinkedList<CFGenKbISOCurrencyBuff> matchSet = new LinkedList<CFGenKbISOCurrencyBuff>(); Iterator<CFGenKbISOCurrencyBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFGenKbISOCurrencyBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteISOCurrency(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfcore.v2_1.CFGenKbRam.CFGenKbRamISOCurrencyTable.java
public void deleteISOCurrencyByCcyNmIdx(CFGenKbAuthorization Authorization, CFGenKbISOCurrencyByCcyNmIdxKey argKey) { CFGenKbISOCurrencyBuff cur;//from ww w.j av a 2 s. c o m LinkedList<CFGenKbISOCurrencyBuff> matchSet = new LinkedList<CFGenKbISOCurrencyBuff>(); Iterator<CFGenKbISOCurrencyBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFGenKbISOCurrencyBuff> 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 deleteISOCurrencyByIdIdx(CFAstAuthorization Authorization, CFAstISOCurrencyPKey argKey) { CFAstISOCurrencyBuff cur;// w w w . j a v a 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.cfcore.v2_1.CFGenKbRam.CFGenKbRamToolTable.java
public void deleteToolByIdIdx(CFGenKbAuthorization Authorization, CFGenKbToolPKey argKey) { CFGenKbToolBuff cur;/* w w w. j av a2 s .com*/ LinkedList<CFGenKbToolBuff> matchSet = new LinkedList<CFGenKbToolBuff>(); Iterator<CFGenKbToolBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFGenKbToolBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteTool(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfcore.v2_1.CFGenKbRam.CFGenKbRamToolTable.java
public void deleteToolByNameIdx(CFGenKbAuthorization Authorization, CFGenKbToolByNameIdxKey argKey) { CFGenKbToolBuff cur;//from ww w. j ava2 s . c o m LinkedList<CFGenKbToolBuff> matchSet = new LinkedList<CFGenKbToolBuff>(); Iterator<CFGenKbToolBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFGenKbToolBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteTool(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfcore.v2_1.CFGenKbRam.CFGenKbRamToolTable.java
public void deleteToolByReplacesIdx(CFGenKbAuthorization Authorization, CFGenKbToolByReplacesIdxKey argKey) { CFGenKbToolBuff cur;/*from ww w . j av a 2 s . c o m*/ LinkedList<CFGenKbToolBuff> matchSet = new LinkedList<CFGenKbToolBuff>(); Iterator<CFGenKbToolBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFGenKbToolBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteTool(Authorization, cur); } }