AclEnumeratorpublic final class AclEnumerator extends Object implements Enumeration
Fields Summary |
---|
java.security.acl.Acl | acl | Enumeration | u1 | Enumeration | u2 | Enumeration | g1 | Enumeration | g2 |
Methods Summary |
---|
public boolean | hasMoreElements()
return u1.hasMoreElements() || u2.hasMoreElements() || g1.hasMoreElements() || g2.hasMoreElements();
| public java.lang.Object | nextElement()
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;
|
|