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

public void deleteMinorVersionByIdIdx(CFAstAuthorization Authorization, CFAstDomainBasePKey argKey) {
    CFAstMinorVersionBuff cur;//from   ww  w  . ja v a 2 s .c o m
    LinkedList<CFAstMinorVersionBuff> matchSet = new LinkedList<CFAstMinorVersionBuff>();
    Iterator<CFAstMinorVersionBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstMinorVersionBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteMinorVersion(Authorization, cur);
    }
}

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

public void deleteMinorVersionByMajorIdx(CFAccAuthorization Authorization,
        CFAccMinorVersionByMajorIdxKey argKey) {
    CFAccMinorVersionBuff cur;/*from  ww  w . j av a2s  . com*/
    LinkedList<CFAccMinorVersionBuff> matchSet = new LinkedList<CFAccMinorVersionBuff>();
    Iterator<CFAccMinorVersionBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccMinorVersionBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteMinorVersion(Authorization, cur);
    }
}

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

public void deleteMinorVersionByNameIdx(CFAccAuthorization Authorization,
        CFAccMinorVersionByNameIdxKey argKey) {
    CFAccMinorVersionBuff cur;// www  .j  a  v  a 2  s. c om
    LinkedList<CFAccMinorVersionBuff> matchSet = new LinkedList<CFAccMinorVersionBuff>();
    Iterator<CFAccMinorVersionBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccMinorVersionBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteMinorVersion(Authorization, cur);
    }
}

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

public void deleteMinorVersionByTenantIdx(CFAccAuthorization Authorization,
        CFAccDomainBaseByTenantIdxKey argKey) {
    CFAccMinorVersionBuff cur;/*from w  w w  .ja v a  2s.com*/
    LinkedList<CFAccMinorVersionBuff> matchSet = new LinkedList<CFAccMinorVersionBuff>();
    Iterator<CFAccMinorVersionBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccMinorVersionBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteMinorVersion(Authorization, cur);
    }
}

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

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

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

public void deleteMinorVersionByNameIdx(CFAstAuthorization Authorization,
        CFAstMinorVersionByNameIdxKey argKey) {
    CFAstMinorVersionBuff cur;/*  ww w. j  a va2s . c  o  m*/
    LinkedList<CFAstMinorVersionBuff> matchSet = new LinkedList<CFAstMinorVersionBuff>();
    Iterator<CFAstMinorVersionBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstMinorVersionBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteMinorVersion(Authorization, cur);
    }
}

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

public void deleteMinorVersionByTenantIdx(CFAstAuthorization Authorization,
        CFAstDomainBaseByTenantIdxKey argKey) {
    CFAstMinorVersionBuff cur;//from  ww  w  .j  av a 2s. c  o  m
    LinkedList<CFAstMinorVersionBuff> matchSet = new LinkedList<CFAstMinorVersionBuff>();
    Iterator<CFAstMinorVersionBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstMinorVersionBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteMinorVersion(Authorization, cur);
    }
}

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

public void deleteTopDomainByIdIdx(CFSecurityAuthorization Authorization, CFInternetDomainBasePKey argKey) {
    CFInternetTopDomainBuff cur;/*  w ww.j a  v a 2s  .  c om*/
    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.cfasterisk.v2_4.CFAsteriskRam.CFAsteriskRamTopDomainTable.java

public void deleteTopDomainByTldIdx(CFSecurityAuthorization Authorization,
        CFInternetTopDomainByTldIdxKey argKey) {
    CFInternetTopDomainBuff cur;//  www.java 2 s  .c  o  m
    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.cfasterisk.v2_4.CFAsteriskRam.CFAsteriskRamTopDomainTable.java

public void deleteTopDomainByNameIdx(CFSecurityAuthorization Authorization,
        CFInternetTopDomainByNameIdxKey argKey) {
    CFInternetTopDomainBuff cur;/*from  w ww  .ja  v  a  2s.co m*/
    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);
    }
}