List of usage examples for java.util LinkedList iterator
Iterator<E> iterator();
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_0.CFAstRam.CFAstRamSecSessionTable.java
public void deleteSecSessionBySecUserIdx(CFAstAuthorization Authorization, CFAstSecSessionBySecUserIdxKey argKey) { CFAstSecSessionBuff cur;/* w ww . j av a2 s . com*/ LinkedList<CFAstSecSessionBuff> matchSet = new LinkedList<CFAstSecSessionBuff>(); Iterator<CFAstSecSessionBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFAstSecSessionBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteSecSession(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_0.CFAstRam.CFAstRamSecSessionTable.java
public void deleteSecSessionByFinishIdx(CFAstAuthorization Authorization, CFAstSecSessionByFinishIdxKey argKey) { CFAstSecSessionBuff cur;/* w ww .j av a2s . c o m*/ LinkedList<CFAstSecSessionBuff> matchSet = new LinkedList<CFAstSecSessionBuff>(); Iterator<CFAstSecSessionBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFAstSecSessionBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteSecSession(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskRam.CFAsteriskRamTopProjectTable.java
public void deleteTopProjectByIdIdx(CFSecurityAuthorization Authorization, CFInternetDomainBasePKey argKey) { CFInternetTopProjectBuff cur;// w ww. j ava 2 s.c om LinkedList<CFInternetTopProjectBuff> matchSet = new LinkedList<CFInternetTopProjectBuff>(); Iterator<CFInternetTopProjectBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFInternetTopProjectBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteTopProject(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamRam.CFBamRamClusterTable.java
public void deleteClusterByUDomainNameIdx(CFSecurityAuthorization Authorization, CFSecurityClusterByUDomainNameIdxKey argKey) { CFSecurityClusterBuff cur;// www . j a va 2s .c o m boolean anyNotNull = false; anyNotNull = true; if (!anyNotNull) { return; } 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(); cur = schema.getTableCluster().readDerivedByIdIdx(Authorization, cur.getRequiredId()); deleteCluster(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamRam.CFBamRamClusterTable.java
public void deleteClusterByUDescrIdx(CFSecurityAuthorization Authorization, CFSecurityClusterByUDescrIdxKey argKey) { CFSecurityClusterBuff cur;/*from w w w .j a v a 2 s. c o m*/ boolean anyNotNull = false; anyNotNull = true; if (!anyNotNull) { return; } 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(); cur = schema.getTableCluster().readDerivedByIdIdx(Authorization, cur.getRequiredId()); deleteCluster(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskRam.CFAsteriskRamTopProjectTable.java
public void deleteTopProjectByDomainIdx(CFSecurityAuthorization Authorization, CFInternetTopProjectByDomainIdxKey argKey) { CFInternetTopProjectBuff cur;// www.j a va 2 s .c o m LinkedList<CFInternetTopProjectBuff> matchSet = new LinkedList<CFInternetTopProjectBuff>(); Iterator<CFInternetTopProjectBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFInternetTopProjectBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteTopProject(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskRam.CFAsteriskRamTopProjectTable.java
public void deleteTopProjectByNameIdx(CFSecurityAuthorization Authorization, CFInternetTopProjectByNameIdxKey argKey) { CFInternetTopProjectBuff cur;/*from www . j av a 2 s .c o m*/ LinkedList<CFInternetTopProjectBuff> matchSet = new LinkedList<CFInternetTopProjectBuff>(); Iterator<CFInternetTopProjectBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFInternetTopProjectBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteTopProject(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskRam.CFAsteriskRamTopProjectTable.java
public void deleteTopProjectByTenantIdx(CFSecurityAuthorization Authorization, CFInternetDomainBaseByTenantIdxKey argKey) { CFInternetTopProjectBuff cur;/*from ww w. j a va 2s. c om*/ LinkedList<CFInternetTopProjectBuff> matchSet = new LinkedList<CFInternetTopProjectBuff>(); Iterator<CFInternetTopProjectBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFInternetTopProjectBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteTopProject(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfcore.v2_1.CFGenKbRam.CFGenKbRamGelFormatTable.java
public void deleteGelFormatByPIdx(CFGenKbAuthorization Authorization, CFGenKbGelInstructionPKey argKey) { CFGenKbGelFormatBuff cur;/* w w w .j av a 2 s. c o m*/ LinkedList<CFGenKbGelFormatBuff> matchSet = new LinkedList<CFGenKbGelFormatBuff>(); Iterator<CFGenKbGelFormatBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFGenKbGelFormatBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteGelFormat(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfcore.v2_1.CFGenKbRam.CFGenKbRamGelFormatTable.java
public void deleteGelFormatByTenantIdx(CFGenKbAuthorization Authorization, CFGenKbGelInstructionByTenantIdxKey argKey) { CFGenKbGelFormatBuff cur;/*w w w.j a v a 2 s .com*/ LinkedList<CFGenKbGelFormatBuff> matchSet = new LinkedList<CFGenKbGelFormatBuff>(); Iterator<CFGenKbGelFormatBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFGenKbGelFormatBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteGelFormat(Authorization, cur); } }