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.CFAstRamTopProjectTable.java

public void deleteTopProjectByTenantIdx(CFAstAuthorization Authorization,
        CFAstDomainBaseByTenantIdxKey argKey) {
    CFAstTopProjectBuff cur;//from   w w  w  . jav a 2s .c o m
    LinkedList<CFAstTopProjectBuff> matchSet = new LinkedList<CFAstTopProjectBuff>();
    Iterator<CFAstTopProjectBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstTopProjectBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteTopProject(Authorization, cur);
    }
}

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

public void deleteISOCountryCurrencyByIdIdx(CFSecurityAuthorization Authorization,
        CFSecurityISOCountryCurrencyPKey argKey) {
    CFSecurityISOCountryCurrencyBuff cur;
    LinkedList<CFSecurityISOCountryCurrencyBuff> matchSet = new LinkedList<CFSecurityISOCountryCurrencyBuff>();
    Iterator<CFSecurityISOCountryCurrencyBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();//from   w  w w  .  ja v  a 2 s. co m
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFSecurityISOCountryCurrencyBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOCountryCurrency(Authorization, cur);
    }
}

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

public void deleteISOCountryCurrencyByCountryIdx(CFSecurityAuthorization Authorization,
        CFSecurityISOCountryCurrencyByCountryIdxKey argKey) {
    CFSecurityISOCountryCurrencyBuff cur;
    LinkedList<CFSecurityISOCountryCurrencyBuff> matchSet = new LinkedList<CFSecurityISOCountryCurrencyBuff>();
    Iterator<CFSecurityISOCountryCurrencyBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();//w  ww .  j  a va 2s.c o m
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFSecurityISOCountryCurrencyBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOCountryCurrency(Authorization, cur);
    }
}

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

public void deleteISOCountryCurrencyByCurrencyIdx(CFSecurityAuthorization Authorization,
        CFSecurityISOCountryCurrencyByCurrencyIdxKey argKey) {
    CFSecurityISOCountryCurrencyBuff cur;
    LinkedList<CFSecurityISOCountryCurrencyBuff> matchSet = new LinkedList<CFSecurityISOCountryCurrencyBuff>();
    Iterator<CFSecurityISOCountryCurrencyBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();//ww w.j  a va 2s.c  o m
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFSecurityISOCountryCurrencyBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOCountryCurrency(Authorization, cur);
    }
}

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

public void deleteISOCountryLanguageByIdIdx(CFSecurityAuthorization Authorization,
        CFSecurityISOCountryLanguagePKey argKey) {
    CFSecurityISOCountryLanguageBuff cur;
    LinkedList<CFSecurityISOCountryLanguageBuff> matchSet = new LinkedList<CFSecurityISOCountryLanguageBuff>();
    Iterator<CFSecurityISOCountryLanguageBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();//from w  w  w.j  a  v  a 2s  .co  m
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFSecurityISOCountryLanguageBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOCountryLanguage(Authorization, cur);
    }
}

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

public void deleteISOCountryLanguageByCountryIdx(CFSecurityAuthorization Authorization,
        CFSecurityISOCountryLanguageByCountryIdxKey argKey) {
    CFSecurityISOCountryLanguageBuff cur;
    LinkedList<CFSecurityISOCountryLanguageBuff> matchSet = new LinkedList<CFSecurityISOCountryLanguageBuff>();
    Iterator<CFSecurityISOCountryLanguageBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();//from ww  w .ja  va 2  s .c o m
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFSecurityISOCountryLanguageBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOCountryLanguage(Authorization, cur);
    }
}

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

public void deleteISOCountryLanguageByLanguageIdx(CFSecurityAuthorization Authorization,
        CFSecurityISOCountryLanguageByLanguageIdxKey argKey) {
    CFSecurityISOCountryLanguageBuff cur;
    LinkedList<CFSecurityISOCountryLanguageBuff> matchSet = new LinkedList<CFSecurityISOCountryLanguageBuff>();
    Iterator<CFSecurityISOCountryLanguageBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();/* ww  w  .  j a v  a2s.c o m*/
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFSecurityISOCountryLanguageBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOCountryLanguage(Authorization, cur);
    }
}

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

public void deleteISOTimezoneByIdIdx(CFSecurityAuthorization Authorization, CFSecurityISOTimezonePKey argKey) {
    CFSecurityISOTimezoneBuff cur;//from   w ww. ja v a2  s  .  co  m
    LinkedList<CFSecurityISOTimezoneBuff> matchSet = new LinkedList<CFSecurityISOTimezoneBuff>();
    Iterator<CFSecurityISOTimezoneBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFSecurityISOTimezoneBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOTimezone(Authorization, cur);
    }
}

From source file:net.sourceforge.msscodefactory.cfcore.v2_1.CFGenKbRam.CFGenKbRamGelSwitchLimbTable.java

public void deleteGelSwitchLimbByPIdx(CFGenKbAuthorization Authorization, CFGenKbGelSwitchLimbPKey argKey) {
    CFGenKbGelSwitchLimbBuff cur;//w w  w  .ja  va2 s  .  c  o  m
    LinkedList<CFGenKbGelSwitchLimbBuff> matchSet = new LinkedList<CFGenKbGelSwitchLimbBuff>();
    Iterator<CFGenKbGelSwitchLimbBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFGenKbGelSwitchLimbBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteGelSwitchLimb(Authorization, cur);
    }
}

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

public void deleteExtensionsConfByIdIdx(CFAstAuthorization Authorization, CFAstConfigurationFilePKey argKey) {
    CFAstExtensionsConfBuff cur;// www  .ja v a  2 s . c  o m
    LinkedList<CFAstExtensionsConfBuff> matchSet = new LinkedList<CFAstExtensionsConfBuff>();
    Iterator<CFAstExtensionsConfBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstExtensionsConfBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteExtensionsConf(Authorization, cur);
    }
}