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

public void deleteSubProjectByTenantIdx(CFAstAuthorization Authorization,
        CFAstDomainBaseByTenantIdxKey argKey) {
    CFAstSubProjectBuff cur;/*from w w w  . j  a  v  a2s.  co m*/
    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);
    }
}

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

public void deleteTopProjectByNameIdx(CFAstAuthorization Authorization, CFAstTopProjectByNameIdxKey argKey) {
    CFAstTopProjectBuff cur;/*w ww.  ja v  a2s  .  co  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_0.CFAstRam.CFAstRamTopProjectTable.java

public void deleteTopProjectByIdIdx(CFAstAuthorization Authorization, CFAstDomainBasePKey argKey) {
    CFAstTopProjectBuff cur;//from   w w  w . ja  va 2  s.  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.cfacc.v2_0.CFAccRam.CFAccRamTopProjectTable.java

public void deleteTopProjectByDomainIdx(CFAccAuthorization Authorization,
        CFAccTopProjectByDomainIdxKey argKey) {
    CFAccTopProjectBuff cur;// w ww.j av  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 deleteTopProjectByTenantIdx(CFAccAuthorization Authorization,
        CFAccDomainBaseByTenantIdxKey argKey) {
    CFAccTopProjectBuff cur;/*from   www .j a v  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 deleteExtConfigConfByExtCnfClusIdx(CFAstAuthorization Authorization,
        CFAstExtConfigConfByExtCnfClusIdxKey argKey) {
    CFAstExtConfigConfBuff cur;//w  w  w.  j  a v  a2  s .c  o  m
    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.CFAstRamExtConfigConfTable.java

public void deleteExtConfigConfByClusterIdx(CFAstAuthorization Authorization,
        CFAstConfigurationFileByClusterIdxKey argKey) {
    CFAstExtConfigConfBuff cur;//  w w w .  ja  v  a2  s . c  o  m
    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.CFAstRamExtConfigConfTable.java

public void deleteExtConfigConfByHostIdx(CFAstAuthorization Authorization,
        CFAstConfigurationFileByHostIdxKey argKey) {
    CFAstExtConfigConfBuff cur;/*from  w  ww.  j a va2 s .  c o m*/
    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.CFAstRamExtConfigConfTable.java

public void deleteExtConfigConfByUNameIdx(CFAstAuthorization Authorization,
        CFAstConfigurationFileByUNameIdxKey argKey) {
    CFAstExtConfigConfBuff cur;//from  w w  w .  ja v  a2 s. co m
    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.CFAstRamTopProjectTable.java

public void deleteTopProjectByDomainIdx(CFAstAuthorization Authorization,
        CFAstTopProjectByDomainIdxKey argKey) {
    CFAstTopProjectBuff cur;//from www  .  j  a  v  a 2s .co  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);
    }
}