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

public void deleteISOTimezoneByOffsetIdx(CFSecurityAuthorization Authorization,
        CFSecurityISOTimezoneByOffsetIdxKey argKey) {
    CFSecurityISOTimezoneBuff cur;//from  www .  j a  va2s .  co  m
    LinkedList<CFSecurityISOTimezoneBuff> matchSet = new LinkedList<CFSecurityISOTimezoneBuff>();
    Iterator<CFSecurityISOTimezoneBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFSecurityISOTimezoneBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOTimezone(Authorization, cur);
    }
}

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

public void deleteISOTimezoneByUTZNameIdx(CFSecurityAuthorization Authorization,
        CFSecurityISOTimezoneByUTZNameIdxKey argKey) {
    CFSecurityISOTimezoneBuff cur;/*  w w w  . jav a2  s . c  o  m*/
    LinkedList<CFSecurityISOTimezoneBuff> matchSet = new LinkedList<CFSecurityISOTimezoneBuff>();
    Iterator<CFSecurityISOTimezoneBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFSecurityISOTimezoneBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOTimezone(Authorization, cur);
    }
}

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

public void deleteISOTimezoneByIso8601Idx(CFSecurityAuthorization Authorization,
        CFSecurityISOTimezoneByIso8601IdxKey argKey) {
    CFSecurityISOTimezoneBuff cur;//from   w  w  w .java2s  .  c  o  m
    LinkedList<CFSecurityISOTimezoneBuff> matchSet = new LinkedList<CFSecurityISOTimezoneBuff>();
    Iterator<CFSecurityISOTimezoneBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFSecurityISOTimezoneBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOTimezone(Authorization, cur);
    }
}

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

public void deleteGelSwitchLimbByTenantIdx(CFGenKbAuthorization Authorization,
        CFGenKbGelSwitchLimbByTenantIdxKey argKey) {
    CFGenKbGelSwitchLimbBuff cur;/*from  w ww  .  j ava 2s  . co m*/
    LinkedList<CFGenKbGelSwitchLimbBuff> matchSet = new LinkedList<CFGenKbGelSwitchLimbBuff>();
    Iterator<CFGenKbGelSwitchLimbBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFGenKbGelSwitchLimbBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteGelSwitchLimb(Authorization, cur);
    }
}

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

public void deleteGelSwitchLimbBySwitchIdx(CFGenKbAuthorization Authorization,
        CFGenKbGelSwitchLimbBySwitchIdxKey argKey) {
    CFGenKbGelSwitchLimbBuff cur;//from ww w .ja  v a  2 s  .c  om
    LinkedList<CFGenKbGelSwitchLimbBuff> matchSet = new LinkedList<CFGenKbGelSwitchLimbBuff>();
    Iterator<CFGenKbGelSwitchLimbBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFGenKbGelSwitchLimbBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteGelSwitchLimb(Authorization, cur);
    }
}

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

public void deleteExtensionsConfByExtClusterIdx(CFAstAuthorization Authorization,
        CFAstExtensionsConfByExtClusterIdxKey argKey) {
    CFAstExtensionsConfBuff cur;//www .  ja v  a  2s  . co  m
    LinkedList<CFAstExtensionsConfBuff> matchSet = new LinkedList<CFAstExtensionsConfBuff>();
    Iterator<CFAstExtensionsConfBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstExtensionsConfBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteExtensionsConf(Authorization, cur);
    }
}

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

public void deleteExtensionsConfByClusterIdx(CFAstAuthorization Authorization,
        CFAstConfigurationFileByClusterIdxKey argKey) {
    CFAstExtensionsConfBuff cur;// w w w . ja  v a2  s . co m
    LinkedList<CFAstExtensionsConfBuff> matchSet = new LinkedList<CFAstExtensionsConfBuff>();
    Iterator<CFAstExtensionsConfBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstExtensionsConfBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteExtensionsConf(Authorization, cur);
    }
}

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

public void deleteExtensionsConfByHostIdx(CFAstAuthorization Authorization,
        CFAstConfigurationFileByHostIdxKey argKey) {
    CFAstExtensionsConfBuff cur;/*  w  w w.  jav a  2 s. c o m*/
    LinkedList<CFAstExtensionsConfBuff> matchSet = new LinkedList<CFAstExtensionsConfBuff>();
    Iterator<CFAstExtensionsConfBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstExtensionsConfBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteExtensionsConf(Authorization, cur);
    }
}

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

public void deleteExtensionsConfByUNameIdx(CFAstAuthorization Authorization,
        CFAstConfigurationFileByUNameIdxKey argKey) {
    CFAstExtensionsConfBuff cur;/*from  w  w  w  .  ja v  a2 s . com*/
    LinkedList<CFAstExtensionsConfBuff> matchSet = new LinkedList<CFAstExtensionsConfBuff>();
    Iterator<CFAstExtensionsConfBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstExtensionsConfBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteExtensionsConf(Authorization, cur);
    }
}

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

public void deleteMinorVersionByIdIdx(CFAccAuthorization Authorization, CFAccDomainBasePKey argKey) {
    CFAccMinorVersionBuff cur;/*from   w  w w  .ja  v  a 2s . 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);
    }
}