FileDocCategorySizeDatePackage
AclEnumerator.javaAPI DocAndroid 1.5 API1881Wed May 06 22:41:06 BST 2009org.apache.harmony.security.tests.support.acl

AclEnumerator

public final class AclEnumerator extends Object implements Enumeration

Fields Summary
java.security.acl.Acl
acl
Enumeration
u1
Enumeration
u2
Enumeration
g1
Enumeration
g2
Constructors Summary
AclEnumerator(java.security.acl.Acl acl1, Hashtable hashtable, Hashtable hashtable1, Hashtable hashtable2, Hashtable hashtable3)

        acl = acl1;
        u1 = hashtable.elements();
        u2 = hashtable2.elements();
        g1 = hashtable1.elements();
        g2 = hashtable3.elements();
    
Methods Summary
public booleanhasMoreElements()

        return u1.hasMoreElements() || u2.hasMoreElements() || g1.hasMoreElements() || g2.hasMoreElements();
    
public java.lang.ObjectnextElement()

        Acl acl1 = acl;
        if(u2.hasMoreElements()) return u2.nextElement();
        if(g1.hasMoreElements()) return g1.nextElement();
        if(u1.hasMoreElements()) return u1.nextElement();
        if(g2.hasMoreElements()) return g2.nextElement();
        return acl1;