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

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

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

public void deleteISOCountryCurrencyByCurrencyIdx(CFAstAuthorization Authorization,
        CFAstISOCountryCurrencyByCurrencyIdxKey argKey) {
    CFAstISOCountryCurrencyBuff cur;//w w  w .  j  ava2s  . com
    LinkedList<CFAstISOCountryCurrencyBuff> matchSet = new LinkedList<CFAstISOCountryCurrencyBuff>();
    Iterator<CFAstISOCountryCurrencyBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstISOCountryCurrencyBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOCountryCurrency(Authorization, cur);
    }
}

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

public void deleteISOCountryLanguageByIdIdx(CFAstAuthorization Authorization,
        CFAstISOCountryLanguagePKey argKey) {
    CFAstISOCountryLanguageBuff cur;//from w  w  w.ja v  a2 s  .  com
    LinkedList<CFAstISOCountryLanguageBuff> matchSet = new LinkedList<CFAstISOCountryLanguageBuff>();
    Iterator<CFAstISOCountryLanguageBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstISOCountryLanguageBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOCountryLanguage(Authorization, cur);
    }
}

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

public void deleteISOCountryLanguageByCountryIdx(CFAstAuthorization Authorization,
        CFAstISOCountryLanguageByCountryIdxKey argKey) {
    CFAstISOCountryLanguageBuff cur;//from   w ww .j a  va2 s .  c o  m
    LinkedList<CFAstISOCountryLanguageBuff> matchSet = new LinkedList<CFAstISOCountryLanguageBuff>();
    Iterator<CFAstISOCountryLanguageBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstISOCountryLanguageBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOCountryLanguage(Authorization, cur);
    }
}

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

public void deleteISOCountryLanguageByLanguageIdx(CFAstAuthorization Authorization,
        CFAstISOCountryLanguageByLanguageIdxKey argKey) {
    CFAstISOCountryLanguageBuff cur;//from  w ww  .  j a v  a2  s. c om
    LinkedList<CFAstISOCountryLanguageBuff> matchSet = new LinkedList<CFAstISOCountryLanguageBuff>();
    Iterator<CFAstISOCountryLanguageBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstISOCountryLanguageBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOCountryLanguage(Authorization, cur);
    }
}

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

public void deleteISOTimezoneByOffsetIdx(CFAstAuthorization Authorization,
        CFAstISOTimezoneByOffsetIdxKey argKey) {
    CFAstISOTimezoneBuff cur;//w ww.ja v a2  s  .c  om
    LinkedList<CFAstISOTimezoneBuff> matchSet = new LinkedList<CFAstISOTimezoneBuff>();
    Iterator<CFAstISOTimezoneBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstISOTimezoneBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOTimezone(Authorization, cur);
    }
}

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

public void deleteISOTimezoneByUTZNameIdx(CFAstAuthorization Authorization,
        CFAstISOTimezoneByUTZNameIdxKey argKey) {
    CFAstISOTimezoneBuff cur;/*from   w w w.j  av a 2s.co m*/
    LinkedList<CFAstISOTimezoneBuff> matchSet = new LinkedList<CFAstISOTimezoneBuff>();
    Iterator<CFAstISOTimezoneBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstISOTimezoneBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOTimezone(Authorization, cur);
    }
}

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

public void deleteISOTimezoneByIso8601Idx(CFAstAuthorization Authorization,
        CFAstISOTimezoneByIso8601IdxKey argKey) {
    CFAstISOTimezoneBuff cur;/*w ww . ja  va 2 s  .c  o  m*/
    LinkedList<CFAstISOTimezoneBuff> matchSet = new LinkedList<CFAstISOTimezoneBuff>();
    Iterator<CFAstISOTimezoneBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstISOTimezoneBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOTimezone(Authorization, cur);
    }
}

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

public void deleteHostNodeByHostNameIdx(CFAstAuthorization Authorization,
        CFAstHostNodeByHostNameIdxKey argKey) {
    CFAstHostNodeBuff cur;/*from   www. j  a v  a2 s . c  om*/
    LinkedList<CFAstHostNodeBuff> matchSet = new LinkedList<CFAstHostNodeBuff>();
    Iterator<CFAstHostNodeBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstHostNodeBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteHostNode(Authorization, cur);
    }
}

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

public void deleteISOCountryCurrencyByIdIdx(CFGenKbAuthorization Authorization,
        CFGenKbISOCountryCurrencyPKey argKey) {
    CFGenKbISOCountryCurrencyBuff cur;//ww  w  .j  a  v  a2 s .  c  om
    LinkedList<CFGenKbISOCountryCurrencyBuff> matchSet = new LinkedList<CFGenKbISOCountryCurrencyBuff>();
    Iterator<CFGenKbISOCountryCurrencyBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFGenKbISOCountryCurrencyBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOCountryCurrency(Authorization, cur);
    }
}