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

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

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

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

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

public void deleteTenantByIdIdx(CFGenKbAuthorization Authorization, CFGenKbTenantPKey argKey) {
    CFGenKbTenantBuff cur;/*from  www  .  ja v  a2s .  c  o  m*/
    LinkedList<CFGenKbTenantBuff> matchSet = new LinkedList<CFGenKbTenantBuff>();
    Iterator<CFGenKbTenantBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFGenKbTenantBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteTenant(Authorization, cur);
    }
}

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

public void deleteTenantByClusterIdx(CFGenKbAuthorization Authorization, CFGenKbTenantByClusterIdxKey argKey) {
    CFGenKbTenantBuff cur;//from ww w.  jav  a2  s  .c  o m
    LinkedList<CFGenKbTenantBuff> matchSet = new LinkedList<CFGenKbTenantBuff>();
    Iterator<CFGenKbTenantBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFGenKbTenantBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteTenant(Authorization, cur);
    }
}

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

public void deleteTenantByUNameIdx(CFGenKbAuthorization Authorization, CFGenKbTenantByUNameIdxKey argKey) {
    CFGenKbTenantBuff cur;//from w w w .j av  a 2  s .  co m
    LinkedList<CFGenKbTenantBuff> matchSet = new LinkedList<CFGenKbTenantBuff>();
    Iterator<CFGenKbTenantBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFGenKbTenantBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteTenant(Authorization, cur);
    }
}

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

public void deleteISOLanguageByIdIdx(CFAccAuthorization Authorization, CFAccISOLanguagePKey argKey) {
    CFAccISOLanguageBuff cur;//from   ww  w  . ja  va 2s.c o  m
    LinkedList<CFAccISOLanguageBuff> matchSet = new LinkedList<CFAccISOLanguageBuff>();
    Iterator<CFAccISOLanguageBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccISOLanguageBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOLanguage(Authorization, cur);
    }
}

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

public void deleteISOLanguageByBaseIdx(CFAccAuthorization Authorization, CFAccISOLanguageByBaseIdxKey argKey) {
    CFAccISOLanguageBuff cur;//from w  w  w .  ja v  a  2s.c om
    LinkedList<CFAccISOLanguageBuff> matchSet = new LinkedList<CFAccISOLanguageBuff>();
    Iterator<CFAccISOLanguageBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccISOLanguageBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOLanguage(Authorization, cur);
    }
}

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

public void deleteISOLanguageByCodeIdx(CFAccAuthorization Authorization, CFAccISOLanguageByCodeIdxKey argKey) {
    CFAccISOLanguageBuff cur;/*w w w.ja v a 2  s.  com*/
    LinkedList<CFAccISOLanguageBuff> matchSet = new LinkedList<CFAccISOLanguageBuff>();
    Iterator<CFAccISOLanguageBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAccISOLanguageBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOLanguage(Authorization, cur);
    }
}

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

public void deleteISOLanguageByIdIdx(CFAstAuthorization Authorization, CFAstISOLanguagePKey argKey) {
    CFAstISOLanguageBuff cur;/*from w  w w.ja v a2 s  .co m*/
    LinkedList<CFAstISOLanguageBuff> matchSet = new LinkedList<CFAstISOLanguageBuff>();
    Iterator<CFAstISOLanguageBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstISOLanguageBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOLanguage(Authorization, cur);
    }
}

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

public void deleteISOLanguageByBaseIdx(CFAstAuthorization Authorization, CFAstISOLanguageByBaseIdxKey argKey) {
    CFAstISOLanguageBuff cur;/*from w w  w  . j a v a2 s . c  om*/
    LinkedList<CFAstISOLanguageBuff> matchSet = new LinkedList<CFAstISOLanguageBuff>();
    Iterator<CFAstISOLanguageBuff> values = dictByPKey.values().iterator();
    while (values.hasNext()) {
        cur = values.next();
        if (argKey.equals(cur)) {
            matchSet.add(cur);
        }
    }
    Iterator<CFAstISOLanguageBuff> iterMatch = matchSet.iterator();
    while (iterMatch.hasNext()) {
        cur = iterMatch.next();
        deleteISOLanguage(Authorization, cur);
    }
}