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

public void deleteSecUserByIdIdx(CFAccAuthorization Authorization, CFAccSecUserPKey argKey) {
    CFAccSecUserBuff cur;//  w  w  w.jav a 2 s. co m
    LinkedList<CFAccSecUserBuff> matchSet = new LinkedList<CFAccSecUserBuff>();
    Iterator<CFAccSecUserBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccSecUserBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteSecUser(Authorization, cur);
    }
}

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

public void deleteSecUserByUEMailIdx(CFAccAuthorization Authorization, CFAccSecUserByUEMailIdxKey argKey) {
    CFAccSecUserBuff cur;/*w  w w  . j a  v a2  s .  c om*/
    LinkedList<CFAccSecUserBuff> matchSet = new LinkedList<CFAccSecUserBuff>();
    Iterator<CFAccSecUserBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccSecUserBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteSecUser(Authorization, cur);
    }
}

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

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

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

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

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

public void deleteMimeTypeByIdIdx(CFAccAuthorization Authorization, CFAccMimeTypePKey argKey) {
    CFAccMimeTypeBuff cur;// ww  w . ja  v  a2s . c o m
    LinkedList<CFAccMimeTypeBuff> matchSet = new LinkedList<CFAccMimeTypeBuff>();
    Iterator<CFAccMimeTypeBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccMimeTypeBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteMimeType(Authorization, cur);
    }
}

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

public void deleteMimeTypeByUNameIdx(CFAccAuthorization Authorization, CFAccMimeTypeByUNameIdxKey argKey) {
    CFAccMimeTypeBuff cur;/*from  w w  w  .  j  a  v  a2s .co m*/
    LinkedList<CFAccMimeTypeBuff> matchSet = new LinkedList<CFAccMimeTypeBuff>();
    Iterator<CFAccMimeTypeBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccMimeTypeBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteMimeType(Authorization, cur);
    }
}

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

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

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

public void deleteMimeTypeByUNameIdx(CFAstAuthorization Authorization, CFAstMimeTypeByUNameIdxKey argKey) {
    CFAstMimeTypeBuff cur;// w ww  .  jav  a 2s .  c  o  m
    LinkedList<CFAstMimeTypeBuff> matchSet = new LinkedList<CFAstMimeTypeBuff>();
    Iterator<CFAstMimeTypeBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstMimeTypeBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteMimeType(Authorization, cur);
    }
}

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

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

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

public void deleteRuleTypeByNameIdx(CFGenKbAuthorization Authorization, CFGenKbRuleTypeByNameIdxKey argKey) {
    CFGenKbRuleTypeBuff cur;// w  w  w  . j a  va2  s.  co  m
    LinkedList<CFGenKbRuleTypeBuff> matchSet = new LinkedList<CFGenKbRuleTypeBuff>();
    Iterator<CFGenKbRuleTypeBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFGenKbRuleTypeBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteRuleType(Authorization, cur);
    }
}