List of usage examples for java.util LinkedList iterator
Iterator<E> iterator();
From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccRam.CFAccRamSecSessionTable.java
public void deleteSecSessionByIdIdx(CFAccAuthorization Authorization, CFAccSecSessionPKey argKey) { CFAccSecSessionBuff cur;// w w w .ja va2 s . c o m LinkedList<CFAccSecSessionBuff> matchSet = new LinkedList<CFAccSecSessionBuff>(); Iterator<CFAccSecSessionBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFAccSecSessionBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteSecSession(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccRam.CFAccRamSecSessionTable.java
public void deleteSecSessionByStartIdx(CFAccAuthorization Authorization, CFAccSecSessionByStartIdxKey argKey) { CFAccSecSessionBuff cur;// w w w. ja v a 2 s .c o m LinkedList<CFAccSecSessionBuff> matchSet = new LinkedList<CFAccSecSessionBuff>(); Iterator<CFAccSecSessionBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFAccSecSessionBuff> 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 deleteSecSessionByIdIdx(CFAstAuthorization Authorization, CFAstSecSessionPKey argKey) { CFAstSecSessionBuff cur;//from w ww.j av a 2s. c om 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 deleteSecSessionByStartIdx(CFAstAuthorization Authorization, CFAstSecSessionByStartIdxKey argKey) { CFAstSecSessionBuff cur;/* ww w.j ava2 s . co 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.CFAsteriskRamSubProjectTable.java
public void deleteSubProjectByParentIdx(CFSecurityAuthorization Authorization, CFInternetSubProjectByParentIdxKey argKey) { CFInternetSubProjectBuff cur;/*from ww w .ja v a 2 s . c o m*/ LinkedList<CFInternetSubProjectBuff> matchSet = new LinkedList<CFInternetSubProjectBuff>(); Iterator<CFInternetSubProjectBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFInternetSubProjectBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteSubProject(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskRam.CFAsteriskRamSubProjectTable.java
public void deleteSubProjectByNameIdx(CFSecurityAuthorization Authorization, CFInternetSubProjectByNameIdxKey argKey) { CFInternetSubProjectBuff cur;// w ww . j a v a2 s . co m LinkedList<CFInternetSubProjectBuff> matchSet = new LinkedList<CFInternetSubProjectBuff>(); Iterator<CFInternetSubProjectBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFInternetSubProjectBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteSubProject(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskRam.CFAsteriskRamSubProjectTable.java
public void deleteSubProjectByTenantIdx(CFSecurityAuthorization Authorization, CFInternetDomainBaseByTenantIdxKey argKey) { CFInternetSubProjectBuff cur;//www.jav a2 s. c o m LinkedList<CFInternetSubProjectBuff> matchSet = new LinkedList<CFInternetSubProjectBuff>(); Iterator<CFInternetSubProjectBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFInternetSubProjectBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteSubProject(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamRam.CFBamRamClusterTable.java
public void deleteClusterByIdIdx(CFSecurityAuthorization Authorization, CFSecurityClusterPKey argKey) { boolean anyNotNull = false; anyNotNull = true;/*from www. j a v a 2 s. c om*/ if (!anyNotNull) { return; } 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(); cur = schema.getTableCluster().readDerivedByIdIdx(Authorization, cur.getRequiredId()); deleteCluster(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccRam.CFAccRamSecSessionTable.java
public void deleteSecSessionBySecUserIdx(CFAccAuthorization Authorization, CFAccSecSessionBySecUserIdxKey argKey) { CFAccSecSessionBuff cur;/* w ww . ja va 2s .co m*/ LinkedList<CFAccSecSessionBuff> matchSet = new LinkedList<CFAccSecSessionBuff>(); Iterator<CFAccSecSessionBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFAccSecSessionBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteSecSession(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccRam.CFAccRamSecSessionTable.java
public void deleteSecSessionByFinishIdx(CFAccAuthorization Authorization, CFAccSecSessionByFinishIdxKey argKey) { CFAccSecSessionBuff cur;// ww w . j a va2 s. c om LinkedList<CFAccSecSessionBuff> matchSet = new LinkedList<CFAccSecSessionBuff>(); Iterator<CFAccSecSessionBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFAccSecSessionBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteSecSession(Authorization, cur); } }