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

public void deleteTopDomainByTenantIdx(CFSecurityAuthorization Authorization,
        CFInternetDomainBaseByTenantIdxKey argKey) {
    CFInternetTopDomainBuff cur;//from  w w  w .j  av  a 2 s. com
    LinkedList<CFInternetTopDomainBuff> matchSet = new LinkedList<CFInternetTopDomainBuff>();
    Iterator<CFInternetTopDomainBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFInternetTopDomainBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteTopDomain(Authorization, cur);
    }
}

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

public void deleteMajorVersionByIdIdx(CFAccAuthorization Authorization, CFAccDomainBasePKey argKey) {
    CFAccMajorVersionBuff cur;//from   w w w. ja v a  2 s. c om
    LinkedList<CFAccMajorVersionBuff> matchSet = new LinkedList<CFAccMajorVersionBuff>();
    Iterator<CFAccMajorVersionBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccMajorVersionBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteMajorVersion(Authorization, cur);
    }
}

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

public void deleteMajorVersionByIdIdx(CFAstAuthorization Authorization, CFAstDomainBasePKey argKey) {
    CFAstMajorVersionBuff cur;/*from  w w w .j  av a2s .co  m*/
    LinkedList<CFAstMajorVersionBuff> matchSet = new LinkedList<CFAstMajorVersionBuff>();
    Iterator<CFAstMajorVersionBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstMajorVersionBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteMajorVersion(Authorization, cur);
    }
}

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

public void deleteMajorVersionByPPrjIdx(CFAccAuthorization Authorization,
        CFAccMajorVersionByPPrjIdxKey argKey) {
    CFAccMajorVersionBuff cur;/*  w ww  .  jav a  2 s. c  o  m*/
    LinkedList<CFAccMajorVersionBuff> matchSet = new LinkedList<CFAccMajorVersionBuff>();
    Iterator<CFAccMajorVersionBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccMajorVersionBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteMajorVersion(Authorization, cur);
    }
}

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

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

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

public void deleteMajorVersionByTenantIdx(CFAccAuthorization Authorization,
        CFAccDomainBaseByTenantIdxKey argKey) {
    CFAccMajorVersionBuff cur;/*from  ww w.j  av  a2s.c  om*/
    LinkedList<CFAccMajorVersionBuff> matchSet = new LinkedList<CFAccMajorVersionBuff>();
    Iterator<CFAccMajorVersionBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccMajorVersionBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteMajorVersion(Authorization, cur);
    }
}

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

public void deleteMajorVersionByPPrjIdx(CFAstAuthorization Authorization,
        CFAstMajorVersionByPPrjIdxKey argKey) {
    CFAstMajorVersionBuff cur;/*from   w  ww .j  ava  2s .  c  om*/
    LinkedList<CFAstMajorVersionBuff> matchSet = new LinkedList<CFAstMajorVersionBuff>();
    Iterator<CFAstMajorVersionBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstMajorVersionBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteMajorVersion(Authorization, cur);
    }
}

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

public void deleteMajorVersionByNameIdx(CFAstAuthorization Authorization,
        CFAstMajorVersionByNameIdxKey argKey) {
    CFAstMajorVersionBuff cur;// www.ja  v  a 2s.  c  o m
    LinkedList<CFAstMajorVersionBuff> matchSet = new LinkedList<CFAstMajorVersionBuff>();
    Iterator<CFAstMajorVersionBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstMajorVersionBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteMajorVersion(Authorization, cur);
    }
}

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

public void deleteMajorVersionByTenantIdx(CFAstAuthorization Authorization,
        CFAstDomainBaseByTenantIdxKey argKey) {
    CFAstMajorVersionBuff cur;// w w w. j av a 2s.co  m
    LinkedList<CFAstMajorVersionBuff> matchSet = new LinkedList<CFAstMajorVersionBuff>();
    Iterator<CFAstMajorVersionBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstMajorVersionBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteMajorVersion(Authorization, cur);
    }
}

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

public void deleteSubProjectByIdIdx(CFSecurityAuthorization Authorization, CFInternetDomainBasePKey argKey) {
    CFInternetSubProjectBuff cur;//from w w  w.j a  va2s. com
    LinkedList<CFInternetSubProjectBuff> matchSet = new LinkedList<CFInternetSubProjectBuff>();
    Iterator<CFInternetSubProjectBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFInternetSubProjectBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteSubProject(Authorization, cur);
    }
}