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.cfacc.v2_0.CFAccRam.CFAccRamTopDomainTable.java

public void deleteTopDomainByTenantIdx(CFAccAuthorization Authorization, CFAccDomainBaseByTenantIdxKey argKey) {
    CFAccTopDomainBuff cur;/*from  w  ww. j a  v  a2  s. com*/
    LinkedList<CFAccTopDomainBuff> matchSet = new LinkedList<CFAccTopDomainBuff>();
    Iterator<CFAccTopDomainBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccTopDomainBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteTopDomain(Authorization, cur);
    }
}

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

public void deleteTopDomainByTLDIdx(CFAstAuthorization Authorization, CFAstTopDomainByTLDIdxKey argKey) {
    CFAstTopDomainBuff cur;/*from w  w  w.  j  av a2s  .c o  m*/
    LinkedList<CFAstTopDomainBuff> matchSet = new LinkedList<CFAstTopDomainBuff>();
    Iterator<CFAstTopDomainBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstTopDomainBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteTopDomain(Authorization, cur);
    }
}

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

public void deleteTopDomainByNameIdx(CFAstAuthorization Authorization, CFAstTopDomainByNameIdxKey argKey) {
    CFAstTopDomainBuff cur;//w  w  w. j a  v  a2  s.c o  m
    LinkedList<CFAstTopDomainBuff> matchSet = new LinkedList<CFAstTopDomainBuff>();
    Iterator<CFAstTopDomainBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstTopDomainBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteTopDomain(Authorization, cur);
    }
}

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

public void deleteTopDomainByIdIdx(CFAstAuthorization Authorization, CFAstDomainBasePKey argKey) {
    CFAstTopDomainBuff cur;/*  w  w  w.j a v  a2 s .  c  o  m*/
    LinkedList<CFAstTopDomainBuff> matchSet = new LinkedList<CFAstTopDomainBuff>();
    Iterator<CFAstTopDomainBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstTopDomainBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteTopDomain(Authorization, cur);
    }
}

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

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

From source file:net.sourceforge.msscodefactory.cffreeswitch.v2_0.CFFswRam.CFFswRamTopDomainTable.java

public void deleteTopDomainByTenantIdx(CFFswAuthorization Authorization, CFFswDomainBaseByTenantIdxKey argKey) {
    CFFswTopDomainBuff cur;/* w  ww .j av  a 2  s .  c  o  m*/
    LinkedList<CFFswTopDomainBuff> matchSet = new LinkedList<CFFswTopDomainBuff>();
    Iterator<CFFswTopDomainBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFFswTopDomainBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteTopDomain(Authorization, cur);
    }
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_1.CFAstRam.CFAstRamTopDomainTable.java

public void deleteTopDomainByTldIdx(CFAstAuthorization Authorization, CFAstTopDomainByTldIdxKey argKey) {
    CFAstTopDomainBuff cur;// www .  j a  v  a  2s  .  c  om
    LinkedList<CFAstTopDomainBuff> matchSet = new LinkedList<CFAstTopDomainBuff>();
    Iterator<CFAstTopDomainBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstTopDomainBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteTopDomain(Authorization, cur);
    }
}

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

public void deleteSipConfBySipClusterIdx(CFSecurityAuthorization Authorization,
        CFAsteriskSipConfBySipClusterIdxKey argKey) {
    CFAsteriskSipConfBuff cur;/*from w  w  w.  j a v a 2  s. c  om*/
    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 deleteSipConfByIdIdx(CFSecurityAuthorization Authorization,
        CFAsteriskConfigurationFilePKey argKey) {
    CFAsteriskSipConfBuff cur;/*from   w  w  w.  jav a 2  s  .  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 deleteSipConfByClusterIdx(CFSecurityAuthorization Authorization,
        CFAsteriskConfigurationFileByClusterIdxKey argKey) {
    CFAsteriskSipConfBuff cur;/*  w  w w  . ja  v a 2  s .  com*/
    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);
    }
}