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_4.CFAsteriskRam.CFAsteriskRamSipConfTable.java

public void deleteSipConfByHostIdx(CFSecurityAuthorization Authorization,
        CFAsteriskConfigurationFileByHostIdxKey argKey) {
    CFAsteriskSipConfBuff cur;//  w w  w  . ja va  2s  . c  o m
    LinkedList<CFAsteriskSipConfBuff> matchSet = new LinkedList<CFAsteriskSipConfBuff>();
    Iterator<CFAsteriskSipConfBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAsteriskSipConfBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteSipConf(Authorization, cur);
    }
}

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

public void deleteSipConfByUNameIdx(CFSecurityAuthorization Authorization,
        CFAsteriskConfigurationFileByUNameIdxKey argKey) {
    CFAsteriskSipConfBuff cur;//from w  ww.  java  2  s .co m
    LinkedList<CFAsteriskSipConfBuff> matchSet = new LinkedList<CFAsteriskSipConfBuff>();
    Iterator<CFAsteriskSipConfBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAsteriskSipConfBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteSipConf(Authorization, cur);
    }
}

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

public void deleteAsteriskConfByIdIdx(CFAstAuthorization Authorization, CFAstConfigurationFilePKey argKey) {
    CFAstAsteriskConfBuff cur;/*from w w w . j a v a 2  s.c om*/
    LinkedList<CFAstAsteriskConfBuff> matchSet = new LinkedList<CFAstAsteriskConfBuff>();
    Iterator<CFAstAsteriskConfBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstAsteriskConfBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteAsteriskConf(Authorization, cur);
    }
}

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

public void deleteAsteriskConfByConfClusterIdx(CFAstAuthorization Authorization,
        CFAstAsteriskConfByConfClusterIdxKey argKey) {
    CFAstAsteriskConfBuff cur;/*from  w w  w.  j  a v  a 2s . c om*/
    LinkedList<CFAstAsteriskConfBuff> matchSet = new LinkedList<CFAstAsteriskConfBuff>();
    Iterator<CFAstAsteriskConfBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstAsteriskConfBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteAsteriskConf(Authorization, cur);
    }
}

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

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

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

public void deleteAsteriskConfByHostIdx(CFAstAuthorization Authorization,
        CFAstConfigurationFileByHostIdxKey argKey) {
    CFAstAsteriskConfBuff cur;//w  ww  .  j a  v a2  s . co m
    LinkedList<CFAstAsteriskConfBuff> matchSet = new LinkedList<CFAstAsteriskConfBuff>();
    Iterator<CFAstAsteriskConfBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstAsteriskConfBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteAsteriskConf(Authorization, cur);
    }
}

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

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

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

public void deleteISOLanguageByIdIdx(CFSecurityAuthorization Authorization, CFSecurityISOLanguagePKey argKey) {
    CFSecurityISOLanguageBuff cur;/*from  w  ww  .java2s .  c o m*/
    LinkedList<CFSecurityISOLanguageBuff> matchSet = new LinkedList<CFSecurityISOLanguageBuff>();
    Iterator<CFSecurityISOLanguageBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFSecurityISOLanguageBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOLanguage(Authorization, cur);
    }
}

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

public void deleteHostNodeByIdIdx(CFSecurityAuthorization Authorization, CFSecurityHostNodePKey argKey) {
    CFSecurityHostNodeBuff cur;/*from  ww  w . j av  a 2 s.  com*/
    LinkedList<CFSecurityHostNodeBuff> matchSet = new LinkedList<CFSecurityHostNodeBuff>();
    Iterator<CFSecurityHostNodeBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFSecurityHostNodeBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteHostNode(Authorization, cur);
    }
}

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

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