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

public void deleteSecGroupByClusterIdx(CFAstAuthorization Authorization, CFAstSecGroupByClusterIdxKey argKey) {
    CFAstSecGroupBuff cur;/*w  w w  .  j a  va2 s  .  c o m*/
    LinkedList<CFAstSecGroupBuff> matchSet = new LinkedList<CFAstSecGroupBuff>();
    Iterator<CFAstSecGroupBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstSecGroupBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteSecGroup(Authorization, cur);
    }
}

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

public void deleteSecGroupByUNameIdx(CFAstAuthorization Authorization, CFAstSecGroupByUNameIdxKey argKey) {
    CFAstSecGroupBuff cur;//  ww w.  ja  va 2  s .co m
    LinkedList<CFAstSecGroupBuff> matchSet = new LinkedList<CFAstSecGroupBuff>();
    Iterator<CFAstSecGroupBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstSecGroupBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteSecGroup(Authorization, cur);
    }
}

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

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

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

public void deleteTSecGroupByTenantIdx(CFAstAuthorization Authorization, CFAstTSecGroupByTenantIdxKey argKey) {
    CFAstTSecGroupBuff cur;/* w w  w  . ja va  2 s .  c om*/
    LinkedList<CFAstTSecGroupBuff> matchSet = new LinkedList<CFAstTSecGroupBuff>();
    Iterator<CFAstTSecGroupBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstTSecGroupBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteTSecGroup(Authorization, cur);
    }
}

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

public void deleteTSecGroupByUNameIdx(CFAstAuthorization Authorization, CFAstTSecGroupByUNameIdxKey argKey) {
    CFAstTSecGroupBuff cur;/*from   ww w.  ja  v  a 2s. com*/
    LinkedList<CFAstTSecGroupBuff> matchSet = new LinkedList<CFAstTSecGroupBuff>();
    Iterator<CFAstTSecGroupBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstTSecGroupBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteTSecGroup(Authorization, cur);
    }
}

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

public void deleteSecAppByClusterIdx(CFSecurityAuthorization Authorization,
        CFSecuritySecAppByClusterIdxKey argKey) {
    CFSecuritySecAppBuff cur;/*from   w  w w.  j  a va2 s.  com*/
    LinkedList<CFSecuritySecAppBuff> matchSet = new LinkedList<CFSecuritySecAppBuff>();
    Iterator<CFSecuritySecAppBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFSecuritySecAppBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteSecApp(Authorization, cur);
    }
}

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

public void deleteSecAppByUJEEMountIdx(CFSecurityAuthorization Authorization,
        CFSecuritySecAppByUJEEMountIdxKey argKey) {
    CFSecuritySecAppBuff cur;/*from   w  w  w .  j  a va 2  s  .com*/
    LinkedList<CFSecuritySecAppBuff> matchSet = new LinkedList<CFSecuritySecAppBuff>();
    Iterator<CFSecuritySecAppBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFSecuritySecAppBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteSecApp(Authorization, cur);
    }
}

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

public void deleteSecGroupByIdIdx(CFGenKbAuthorization Authorization, CFGenKbSecGroupPKey argKey) {
    CFGenKbSecGroupBuff cur;/*from w  ww  .j a va 2  s .co  m*/
    LinkedList<CFGenKbSecGroupBuff> matchSet = new LinkedList<CFGenKbSecGroupBuff>();
    Iterator<CFGenKbSecGroupBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFGenKbSecGroupBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteSecGroup(Authorization, cur);
    }
}

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

public void deleteSecGroupByUNameIdx(CFGenKbAuthorization Authorization, CFGenKbSecGroupByUNameIdxKey argKey) {
    CFGenKbSecGroupBuff cur;//w ww .  ja  v  a2  s  .  c o m
    LinkedList<CFGenKbSecGroupBuff> matchSet = new LinkedList<CFGenKbSecGroupBuff>();
    Iterator<CFGenKbSecGroupBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFGenKbSecGroupBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteSecGroup(Authorization, cur);
    }
}

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

public void deleteSecGroupByClusterIdx(CFGenKbAuthorization Authorization,
        CFGenKbSecGroupByClusterIdxKey argKey) {
    CFGenKbSecGroupBuff cur;//w ww .java 2s .  co m
    LinkedList<CFGenKbSecGroupBuff> matchSet = new LinkedList<CFGenKbSecGroupBuff>();
    Iterator<CFGenKbSecGroupBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFGenKbSecGroupBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteSecGroup(Authorization, cur);
    }
}