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

public void deleteURLProtocolByUNameIdx(CFAccAuthorization Authorization,
        CFAccURLProtocolByUNameIdxKey argKey) {
    CFAccURLProtocolBuff cur;/*from   w  w  w. jav a2s  . co m*/
    LinkedList<CFAccURLProtocolBuff> matchSet = new LinkedList<CFAccURLProtocolBuff>();
    Iterator<CFAccURLProtocolBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccURLProtocolBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteURLProtocol(Authorization, cur);
    }
}

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

public void deleteURLProtocolByIsSecureIdx(CFAccAuthorization Authorization,
        CFAccURLProtocolByIsSecureIdxKey argKey) {
    CFAccURLProtocolBuff cur;/*from   www . ja  v a 2 s.  c  o m*/
    LinkedList<CFAccURLProtocolBuff> matchSet = new LinkedList<CFAccURLProtocolBuff>();
    Iterator<CFAccURLProtocolBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccURLProtocolBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteURLProtocol(Authorization, cur);
    }
}

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

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

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

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

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

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

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

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

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

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

From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamRam.CFBamRamISOCountryTable.java

public void deleteISOCountryByIdIdx(CFSecurityAuthorization Authorization, CFSecurityISOCountryPKey argKey) {
    boolean anyNotNull = false;
    anyNotNull = true;//from   ww w .  j a  va2  s .  c om
    if (!anyNotNull) {
        return;
    }
    CFSecurityISOCountryBuff cur;
    LinkedList<CFSecurityISOCountryBuff> matchSet = new LinkedList<CFSecurityISOCountryBuff>();
    Iterator<CFSecurityISOCountryBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFSecurityISOCountryBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        cur = schema.getTableISOCountry().readDerivedByIdIdx(Authorization, cur.getRequiredISOCountryId());
        deleteISOCountry(Authorization, cur);
    }
}

From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamRam.CFBamRamISOCountryTable.java

public void deleteISOCountryByISOCodeIdx(CFSecurityAuthorization Authorization,
        CFSecurityISOCountryByISOCodeIdxKey argKey) {
    CFSecurityISOCountryBuff cur;/* w ww  . j ava2s . c  o  m*/
    boolean anyNotNull = false;
    anyNotNull = true;
    if (!anyNotNull) {
        return;
    }
    LinkedList<CFSecurityISOCountryBuff> matchSet = new LinkedList<CFSecurityISOCountryBuff>();
    Iterator<CFSecurityISOCountryBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFSecurityISOCountryBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        cur = schema.getTableISOCountry().readDerivedByIdIdx(Authorization, cur.getRequiredISOCountryId());
        deleteISOCountry(Authorization, cur);
    }
}

From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamRam.CFBamRamISOCountryTable.java

public void deleteISOCountryByNameIdx(CFSecurityAuthorization Authorization,
        CFSecurityISOCountryByNameIdxKey argKey) {
    CFSecurityISOCountryBuff cur;//from w  w  w  . ja v a2 s .c  o m
    boolean anyNotNull = false;
    anyNotNull = true;
    if (!anyNotNull) {
        return;
    }
    LinkedList<CFSecurityISOCountryBuff> matchSet = new LinkedList<CFSecurityISOCountryBuff>();
    Iterator<CFSecurityISOCountryBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFSecurityISOCountryBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        cur = schema.getTableISOCountry().readDerivedByIdIdx(Authorization, cur.getRequiredISOCountryId());
        deleteISOCountry(Authorization, cur);
    }
}