Example usage for java.util LinkedList iterator

List of usage examples for java.util LinkedList iterator

Introduction

In this page you can find the example usage for java.util LinkedList iterator.

Prototype

Iterator<E> iterator();

Source Link

Document

Returns an iterator over the elements in this list in proper sequence.

Usage

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_0.CFAstRam.CFAstRamClusterTable.java

public void deleteClusterByIdIdx(CFAstAuthorization Authorization, CFAstClusterPKey argKey) {
    CFAstClusterBuff cur;//from  w w  w  .  j  a  v a  2 s . co m
    LinkedList<CFAstClusterBuff> matchSet = new LinkedList<CFAstClusterBuff>();
    Iterator<CFAstClusterBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstClusterBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteCluster(Authorization, cur);
    }
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_0.CFAstRam.CFAstRamClusterTable.java

public void deleteClusterByUDomainNameIdx(CFAstAuthorization Authorization,
        CFAstClusterByUDomainNameIdxKey argKey) {
    CFAstClusterBuff cur;/*from  www .  jav  a 2s . c  o  m*/
    LinkedList<CFAstClusterBuff> matchSet = new LinkedList<CFAstClusterBuff>();
    Iterator<CFAstClusterBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstClusterBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteCluster(Authorization, cur);
    }
}

From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccRam.CFAccRamTagTable.java

public void deleteTagByIdIdx(CFAccAuthorization Authorization, CFAccTagPKey argKey) {
    CFAccTagBuff cur;/*from  w  w w.ja v  a  2  s.  c  o m*/
    LinkedList<CFAccTagBuff> matchSet = new LinkedList<CFAccTagBuff>();
    Iterator<CFAccTagBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccTagBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteTag(Authorization, cur);
    }
}

From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccRam.CFAccRamTagTable.java

public void deleteTagByTenantIdx(CFAccAuthorization Authorization, CFAccTagByTenantIdxKey argKey) {
    CFAccTagBuff cur;// w w w.  j  av  a 2 s  . c  o m
    LinkedList<CFAccTagBuff> matchSet = new LinkedList<CFAccTagBuff>();
    Iterator<CFAccTagBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccTagBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteTag(Authorization, cur);
    }
}

From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccRam.CFAccRamTagTable.java

public void deleteTagByNameIdx(CFAccAuthorization Authorization, CFAccTagByNameIdxKey argKey) {
    CFAccTagBuff cur;/*  ww w  .j  av a 2s  . co  m*/
    LinkedList<CFAccTagBuff> matchSet = new LinkedList<CFAccTagBuff>();
    Iterator<CFAccTagBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccTagBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteTag(Authorization, cur);
    }
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskRam.CFAsteriskRamTldTable.java

public void deleteTldByIdIdx(CFSecurityAuthorization Authorization, CFInternetTldPKey argKey) {
    CFInternetTldBuff cur;//  w ww  .ja va  2  s .  c  om
    LinkedList<CFInternetTldBuff> matchSet = new LinkedList<CFInternetTldBuff>();
    Iterator<CFInternetTldBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFInternetTldBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteTld(Authorization, cur);
    }
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskRam.CFAsteriskRamTldTable.java

public void deleteTldByTenantIdx(CFSecurityAuthorization Authorization, CFInternetTldByTenantIdxKey argKey) {
    CFInternetTldBuff cur;//from   w  ww  .  ja va 2 s  .  c  om
    LinkedList<CFInternetTldBuff> matchSet = new LinkedList<CFInternetTldBuff>();
    Iterator<CFInternetTldBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFInternetTldBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteTld(Authorization, cur);
    }
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskRam.CFAsteriskRamTldTable.java

public void deleteTldByNameIdx(CFSecurityAuthorization Authorization, CFInternetTldByNameIdxKey argKey) {
    CFInternetTldBuff cur;//from w ww  . ja va  2 s.com
    LinkedList<CFInternetTldBuff> matchSet = new LinkedList<CFInternetTldBuff>();
    Iterator<CFInternetTldBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFInternetTldBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteTld(Authorization, cur);
    }
}

From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamRam.CFBamRamISOCurrencyTable.java

public void deleteISOCurrencyByIdIdx(CFSecurityAuthorization Authorization, CFSecurityISOCurrencyPKey argKey) {
    boolean anyNotNull = false;
    anyNotNull = true;/*  w  ww  .  j a  v a  2 s . c o  m*/
    if (!anyNotNull) {
        return;
    }
    CFSecurityISOCurrencyBuff cur;
    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();
        cur = schema.getTableISOCurrency().readDerivedByIdIdx(Authorization, cur.getRequiredISOCurrencyId());
        deleteISOCurrency(Authorization, cur);
    }
}

From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamRam.CFBamRamISOCurrencyTable.java

public void deleteISOCurrencyByCcyCdIdx(CFSecurityAuthorization Authorization,
        CFSecurityISOCurrencyByCcyCdIdxKey argKey) {
    CFSecurityISOCurrencyBuff cur;/*from  w w  w .  ja  v a 2  s  .c  om*/
    boolean anyNotNull = false;
    anyNotNull = true;
    if (!anyNotNull) {
        return;
    }
    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();
        cur = schema.getTableISOCurrency().readDerivedByIdIdx(Authorization, cur.getRequiredISOCurrencyId());
        deleteISOCurrency(Authorization, cur);
    }
}