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

public void deleteVoicemailConfByVMClusterIdx(CFAstAuthorization Authorization,
        CFAstVoicemailConfByVMClusterIdxKey argKey) {
    CFAstVoicemailConfBuff cur;/*from   w w  w. j a  v a 2 s  .c o  m*/
    LinkedList<CFAstVoicemailConfBuff> matchSet = new LinkedList<CFAstVoicemailConfBuff>();
    Iterator<CFAstVoicemailConfBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstVoicemailConfBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteVoicemailConf(Authorization, cur);
    }
}

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

public void deleteVoicemailConfByClusterIdx(CFAstAuthorization Authorization,
        CFAstConfigurationFileByClusterIdxKey argKey) {
    CFAstVoicemailConfBuff cur;//from ww w .  ja v  a2 s .co m
    LinkedList<CFAstVoicemailConfBuff> matchSet = new LinkedList<CFAstVoicemailConfBuff>();
    Iterator<CFAstVoicemailConfBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstVoicemailConfBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteVoicemailConf(Authorization, cur);
    }
}

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

public void deleteVoicemailConfByHostIdx(CFAstAuthorization Authorization,
        CFAstConfigurationFileByHostIdxKey argKey) {
    CFAstVoicemailConfBuff cur;//from   w ww  .j av  a2  s.c  o m
    LinkedList<CFAstVoicemailConfBuff> matchSet = new LinkedList<CFAstVoicemailConfBuff>();
    Iterator<CFAstVoicemailConfBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstVoicemailConfBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteVoicemailConf(Authorization, cur);
    }
}

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

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

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

public void deleteSubProjectByParentIdx(CFAccAuthorization Authorization,
        CFAccSubProjectByParentIdxKey argKey) {
    CFAccSubProjectBuff cur;/*w w  w.  java  2s .co m*/
    LinkedList<CFAccSubProjectBuff> matchSet = new LinkedList<CFAccSubProjectBuff>();
    Iterator<CFAccSubProjectBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccSubProjectBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteSubProject(Authorization, cur);
    }
}

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

public void deleteSubProjectByTenantIdx(CFAccAuthorization Authorization,
        CFAccDomainBaseByTenantIdxKey argKey) {
    CFAccSubProjectBuff cur;/*from  w  w  w .j a  va2  s  .  co  m*/
    LinkedList<CFAccSubProjectBuff> matchSet = new LinkedList<CFAccSubProjectBuff>();
    Iterator<CFAccSubProjectBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccSubProjectBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteSubProject(Authorization, cur);
    }
}

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

public void deleteTopProjectByNameIdx(CFAccAuthorization Authorization, CFAccTopProjectByNameIdxKey argKey) {
    CFAccTopProjectBuff cur;/*from  w  ww  . ja v a 2s  .  co m*/
    LinkedList<CFAccTopProjectBuff> matchSet = new LinkedList<CFAccTopProjectBuff>();
    Iterator<CFAccTopProjectBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccTopProjectBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteTopProject(Authorization, cur);
    }
}

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

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

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

public void deleteExtConfigConfByIdIdx(CFAstAuthorization Authorization, CFAstConfigurationFilePKey argKey) {
    CFAstExtConfigConfBuff cur;/*ww  w  .ja v a2s  . c om*/
    LinkedList<CFAstExtConfigConfBuff> matchSet = new LinkedList<CFAstExtConfigConfBuff>();
    Iterator<CFAstExtConfigConfBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstExtConfigConfBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteExtConfigConf(Authorization, cur);
    }
}

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

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