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

public void deleteDomainByNameIdx(CFSecurityAuthorization Authorization, CFInternetDomainByNameIdxKey argKey) {
    CFInternetDomainBuff cur;//from ww  w .  j  av  a2 s.c o  m
    LinkedList<CFInternetDomainBuff> matchSet = new LinkedList<CFInternetDomainBuff>();
    Iterator<CFInternetDomainBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFInternetDomainBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteDomain(Authorization, cur);
    }
}

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

public void deleteDomainByIdIdx(CFSecurityAuthorization Authorization, CFInternetDomainBasePKey argKey) {
    CFInternetDomainBuff cur;//from w ww.  j  av  a 2  s.co  m
    LinkedList<CFInternetDomainBuff> matchSet = new LinkedList<CFInternetDomainBuff>();
    Iterator<CFInternetDomainBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFInternetDomainBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteDomain(Authorization, cur);
    }
}

From source file:net.sourceforge.msscodefactory.cfcore.v2_1.CFGenKbRam.CFGenKbRamISOTimezoneTable.java

public void deleteISOTimezoneByOffsetIdx(CFGenKbAuthorization Authorization,
        CFGenKbISOTimezoneByOffsetIdxKey argKey) {
    CFGenKbISOTimezoneBuff cur;/*from  w w  w .jav a2s .c  o  m*/
    LinkedList<CFGenKbISOTimezoneBuff> matchSet = new LinkedList<CFGenKbISOTimezoneBuff>();
    Iterator<CFGenKbISOTimezoneBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFGenKbISOTimezoneBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOTimezone(Authorization, cur);
    }
}

From source file:net.sourceforge.msscodefactory.cfcore.v2_1.CFGenKbRam.CFGenKbRamISOTimezoneTable.java

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

From source file:net.sourceforge.msscodefactory.cfcore.v2_1.CFGenKbRam.CFGenKbRamISOTimezoneTable.java

public void deleteISOTimezoneByIso8601Idx(CFGenKbAuthorization Authorization,
        CFGenKbISOTimezoneByIso8601IdxKey argKey) {
    CFGenKbISOTimezoneBuff cur;//  www .ja  v  a 2  s  . co m
    LinkedList<CFGenKbISOTimezoneBuff> matchSet = new LinkedList<CFGenKbISOTimezoneBuff>();
    Iterator<CFGenKbISOTimezoneBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFGenKbISOTimezoneBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOTimezone(Authorization, cur);
    }
}

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

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

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

public void deleteDomainByTenantIdx(CFSecurityAuthorization Authorization,
        CFInternetDomainBaseByTenantIdxKey argKey) {
    CFInternetDomainBuff cur;/*from   ww  w . j  a va2 s.c  o m*/
    LinkedList<CFInternetDomainBuff> matchSet = new LinkedList<CFInternetDomainBuff>();
    Iterator<CFInternetDomainBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFInternetDomainBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteDomain(Authorization, cur);
    }
}

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

public void deleteTopDomainByTLDIdx(CFAccAuthorization Authorization, CFAccTopDomainByTLDIdxKey argKey) {
    CFAccTopDomainBuff cur;/*from  www.  jav  a2 s  .co  m*/
    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.cfacc.v2_0.CFAccRam.CFAccRamTopDomainTable.java

public void deleteTopDomainByNameIdx(CFAccAuthorization Authorization, CFAccTopDomainByNameIdxKey argKey) {
    CFAccTopDomainBuff cur;/*from   w  ww.j  a  v a  2s  . c om*/
    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.cfacc.v2_0.CFAccRam.CFAccRamTopDomainTable.java

public void deleteTopDomainByIdIdx(CFAccAuthorization Authorization, CFAccDomainBasePKey argKey) {
    CFAccTopDomainBuff cur;/*from   w  w w .  j  a va 2s .c  o  m*/
    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);
    }
}