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

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

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

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

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

public void deleteAsteriskConfByIdIdx(CFSecurityAuthorization Authorization,
        CFAsteriskConfigurationFilePKey argKey) {
    CFAsteriskAsteriskConfBuff cur;//  ww  w.  j av a  2  s  . c  o m
    LinkedList<CFAsteriskAsteriskConfBuff> matchSet = new LinkedList<CFAsteriskAsteriskConfBuff>();
    Iterator<CFAsteriskAsteriskConfBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAsteriskAsteriskConfBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteAsteriskConf(Authorization, cur);
    }
}

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

public void deleteAsteriskConfByClusterIdx(CFSecurityAuthorization Authorization,
        CFAsteriskConfigurationFileByClusterIdxKey argKey) {
    CFAsteriskAsteriskConfBuff cur;//from www.  j a v a 2 s .  c o  m
    LinkedList<CFAsteriskAsteriskConfBuff> matchSet = new LinkedList<CFAsteriskAsteriskConfBuff>();
    Iterator<CFAsteriskAsteriskConfBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAsteriskAsteriskConfBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteAsteriskConf(Authorization, cur);
    }
}

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

public void deleteAsteriskConfByHostIdx(CFSecurityAuthorization Authorization,
        CFAsteriskConfigurationFileByHostIdxKey argKey) {
    CFAsteriskAsteriskConfBuff cur;/*from  ww  w .j  a v  a2 s  .c  o  m*/
    LinkedList<CFAsteriskAsteriskConfBuff> matchSet = new LinkedList<CFAsteriskAsteriskConfBuff>();
    Iterator<CFAsteriskAsteriskConfBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAsteriskAsteriskConfBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteAsteriskConf(Authorization, cur);
    }
}

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

public void deleteAsteriskConfByUNameIdx(CFSecurityAuthorization Authorization,
        CFAsteriskConfigurationFileByUNameIdxKey argKey) {
    CFAsteriskAsteriskConfBuff cur;/*from  ww  w  .j  a  v a 2  s  . c o  m*/
    LinkedList<CFAsteriskAsteriskConfBuff> matchSet = new LinkedList<CFAsteriskAsteriskConfBuff>();
    Iterator<CFAsteriskAsteriskConfBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAsteriskAsteriskConfBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteAsteriskConf(Authorization, cur);
    }
}

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

public void deleteMinorVersionByMajorIdx(CFSecurityAuthorization Authorization,
        CFInternetMinorVersionByMajorIdxKey argKey) {
    CFInternetMinorVersionBuff cur;/*w  ww  . j  av  a 2s . c om*/
    LinkedList<CFInternetMinorVersionBuff> matchSet = new LinkedList<CFInternetMinorVersionBuff>();
    Iterator<CFInternetMinorVersionBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFInternetMinorVersionBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteMinorVersion(Authorization, cur);
    }
}

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

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

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

public void deleteMinorVersionByTenantIdx(CFSecurityAuthorization Authorization,
        CFInternetDomainBaseByTenantIdxKey argKey) {
    CFInternetMinorVersionBuff cur;//w ww  .  jav a 2 s.c  om
    LinkedList<CFInternetMinorVersionBuff> matchSet = new LinkedList<CFInternetMinorVersionBuff>();
    Iterator<CFInternetMinorVersionBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFInternetMinorVersionBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteMinorVersion(Authorization, cur);
    }
}