List of usage examples for java.util LinkedList iterator
Iterator<E> iterator();
From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccRam.CFAccRamClusterTable.java
public void deleteClusterByIdIdx(CFAccAuthorization Authorization, CFAccClusterPKey argKey) { CFAccClusterBuff cur;/*from w w w . ja v a 2 s .c o m*/ LinkedList<CFAccClusterBuff> matchSet = new LinkedList<CFAccClusterBuff>(); Iterator<CFAccClusterBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFAccClusterBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteCluster(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfensyntax.v2_1.CFEnSyntaxRam.CFEnSyntaxRamISOCountryTable.java
public void deleteISOCountryByIdIdx(CFEnSyntaxAuthorization Authorization, CFEnSyntaxISOCountryPKey argKey) { CFEnSyntaxISOCountryBuff cur;/* w ww. j a va 2 s . c o m*/ LinkedList<CFEnSyntaxISOCountryBuff> matchSet = new LinkedList<CFEnSyntaxISOCountryBuff>(); Iterator<CFEnSyntaxISOCountryBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFEnSyntaxISOCountryBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteISOCountry(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccRam.CFAccRamClusterTable.java
public void deleteClusterByUDomainNameIdx(CFAccAuthorization Authorization, CFAccClusterByUDomainNameIdxKey argKey) { CFAccClusterBuff cur;/*from w w w . j ava2 s .c o m*/ LinkedList<CFAccClusterBuff> matchSet = new LinkedList<CFAccClusterBuff>(); Iterator<CFAccClusterBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFAccClusterBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteCluster(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfensyntax.v2_1.CFEnSyntaxRam.CFEnSyntaxRamISOCountryTable.java
public void deleteISOCountryByISOCodeIdx(CFEnSyntaxAuthorization Authorization, CFEnSyntaxISOCountryByISOCodeIdxKey argKey) { CFEnSyntaxISOCountryBuff cur;/*www . j a va 2s.c o m*/ LinkedList<CFEnSyntaxISOCountryBuff> matchSet = new LinkedList<CFEnSyntaxISOCountryBuff>(); Iterator<CFEnSyntaxISOCountryBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFEnSyntaxISOCountryBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteISOCountry(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfensyntax.v2_1.CFEnSyntaxRam.CFEnSyntaxRamISOCountryTable.java
public void deleteISOCountryByNameIdx(CFEnSyntaxAuthorization Authorization, CFEnSyntaxISOCountryByNameIdxKey argKey) { CFEnSyntaxISOCountryBuff cur;//from w w w . j av a2 s. co m LinkedList<CFEnSyntaxISOCountryBuff> matchSet = new LinkedList<CFEnSyntaxISOCountryBuff>(); Iterator<CFEnSyntaxISOCountryBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFEnSyntaxISOCountryBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteISOCountry(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccRam.CFAccRamURLProtocolTable.java
public void deleteURLProtocolByIdIdx(CFAccAuthorization Authorization, CFAccURLProtocolPKey argKey) { CFAccURLProtocolBuff cur;/*from ww w .java 2 s .c o m*/ LinkedList<CFAccURLProtocolBuff> matchSet = new LinkedList<CFAccURLProtocolBuff>(); Iterator<CFAccURLProtocolBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFAccURLProtocolBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteURLProtocol(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfasterisk.v2_0.CFAstRam.CFAstRamURLProtocolTable.java
public void deleteURLProtocolByIdIdx(CFAstAuthorization Authorization, CFAstURLProtocolPKey argKey) { CFAstURLProtocolBuff cur;//www . j a va 2 s . c o m LinkedList<CFAstURLProtocolBuff> matchSet = new LinkedList<CFAstURLProtocolBuff>(); Iterator<CFAstURLProtocolBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFAstURLProtocolBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteURLProtocol(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccRam.CFAccRamTldTable.java
public void deleteTldByIdIdx(CFAccAuthorization Authorization, CFAccTldPKey argKey) { CFAccTldBuff cur;/* w w w . j a va 2 s .c o m*/ LinkedList<CFAccTldBuff> matchSet = new LinkedList<CFAccTldBuff>(); Iterator<CFAccTldBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFAccTldBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteTld(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccRam.CFAccRamTldTable.java
public void deleteTldByTenantIdx(CFAccAuthorization Authorization, CFAccTldByTenantIdxKey argKey) { CFAccTldBuff cur;//from w ww . j a v a 2 s .co m LinkedList<CFAccTldBuff> matchSet = new LinkedList<CFAccTldBuff>(); Iterator<CFAccTldBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFAccTldBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteTld(Authorization, cur); } }
From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccRam.CFAccRamTldTable.java
public void deleteTldByNameIdx(CFAccAuthorization Authorization, CFAccTldByNameIdxKey argKey) { CFAccTldBuff cur;// w ww .ja v a 2 s .c o m LinkedList<CFAccTldBuff> matchSet = new LinkedList<CFAccTldBuff>(); Iterator<CFAccTldBuff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFAccTldBuff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteTld(Authorization, cur); } }