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

public void deleteSecAppByUJEEMountIdx(CFAccAuthorization Authorization, CFAccSecAppByUJEEMountIdxKey argKey) {
    CFAccSecAppBuff cur;//  w ww.ja v a  2  s .c  o  m
    LinkedList<CFAccSecAppBuff> matchSet = new LinkedList<CFAccSecAppBuff>();
    Iterator<CFAccSecAppBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccSecAppBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteSecApp(Authorization, cur);
    }
}

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

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

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

public void deleteSecAppByClusterIdx(CFAstAuthorization Authorization, CFAstSecAppByClusterIdxKey argKey) {
    CFAstSecAppBuff cur;/*ww w .j ava  2 s .  c om*/
    LinkedList<CFAstSecAppBuff> matchSet = new LinkedList<CFAstSecAppBuff>();
    Iterator<CFAstSecAppBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstSecAppBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteSecApp(Authorization, cur);
    }
}

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

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

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

public void deleteSecAppByIdIdx(CFGenKbAuthorization Authorization, CFGenKbSecAppPKey argKey) {
    CFGenKbSecAppBuff cur;/*from  ww w  .  j  av  a  2s. c om*/
    LinkedList<CFGenKbSecAppBuff> matchSet = new LinkedList<CFGenKbSecAppBuff>();
    Iterator<CFGenKbSecAppBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFGenKbSecAppBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteSecApp(Authorization, cur);
    }
}

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

public void deleteSecAppByClusterIdx(CFGenKbAuthorization Authorization, CFGenKbSecAppByClusterIdxKey argKey) {
    CFGenKbSecAppBuff cur;/*from   w w w.  j av  a2 s  .  co  m*/
    LinkedList<CFGenKbSecAppBuff> matchSet = new LinkedList<CFGenKbSecAppBuff>();
    Iterator<CFGenKbSecAppBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFGenKbSecAppBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteSecApp(Authorization, cur);
    }
}

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

public void deleteSecAppByUJEEMountIdx(CFGenKbAuthorization Authorization,
        CFGenKbSecAppByUJEEMountIdxKey argKey) {
    CFGenKbSecAppBuff cur;//from w w w  . ja  v  a2  s .  co m
    LinkedList<CFGenKbSecAppBuff> matchSet = new LinkedList<CFGenKbSecAppBuff>();
    Iterator<CFGenKbSecAppBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFGenKbSecAppBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteSecApp(Authorization, cur);
    }
}

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

public void deleteRuleCartByIdIdx(CFGenKbAuthorization Authorization, CFGenKbRuleCartPKey argKey) {
    CFGenKbRuleCartBuff cur;//www.j av  a  2 s .  c o m
    LinkedList<CFGenKbRuleCartBuff> matchSet = new LinkedList<CFGenKbRuleCartBuff>();
    Iterator<CFGenKbRuleCartBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFGenKbRuleCartBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteRuleCart(Authorization, cur);
    }
}

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

public void deleteRuleCartByNameIdx(CFGenKbAuthorization Authorization, CFGenKbRuleCartByNameIdxKey argKey) {
    CFGenKbRuleCartBuff cur;//from w w w .  j av  a  2  s.c om
    LinkedList<CFGenKbRuleCartBuff> matchSet = new LinkedList<CFGenKbRuleCartBuff>();
    Iterator<CFGenKbRuleCartBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFGenKbRuleCartBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteRuleCart(Authorization, cur);
    }
}

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

public void deleteRuleCartByTenantIdx(CFGenKbAuthorization Authorization,
        CFGenKbRuleCartByTenantIdxKey argKey) {
    CFGenKbRuleCartBuff cur;/*from w  w w . j  a  v a2  s.co m*/
    LinkedList<CFGenKbRuleCartBuff> matchSet = new LinkedList<CFGenKbRuleCartBuff>();
    Iterator<CFGenKbRuleCartBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFGenKbRuleCartBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteRuleCart(Authorization, cur);
    }
}