Package org.wildfly.security.permission
Class IntNameSetPermissionCollection.Iter
- java.lang.Object
-
- org.wildfly.security.permission.IntNameSetPermissionCollection.Iter
-
- All Implemented Interfaces:
Enumeration<Permission>,Iterator<Permission>,EnumerationIterator<Permission>
- Enclosing class:
- IntNameSetPermissionCollection
private class IntNameSetPermissionCollection.Iter extends Object implements EnumerationIterator<Permission>
-
-
Field Summary
Fields Modifier and Type Field Description private intbits
-
Constructor Summary
Constructors Constructor Description Iter(int bits)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasMoreElements()Determine if there are more elements to iterate over in the direction of this iterator.booleanhasNext()Permissionnext()PermissionnextElement()Get the next element in the direction of this iterator.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Enumeration
asIterator
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Method Detail
-
hasMoreElements
public boolean hasMoreElements()
Description copied from interface:EnumerationIteratorDetermine if there are more elements to iterate over in the direction of this iterator.- Specified by:
hasMoreElementsin interfaceEnumeration<Permission>- Specified by:
hasMoreElementsin interfaceEnumerationIterator<Permission>- Returns:
trueif there are more elements,falseotherwise
-
nextElement
public Permission nextElement()
Description copied from interface:EnumerationIteratorGet the next element in the direction of this iterator.- Specified by:
nextElementin interfaceEnumeration<Permission>- Specified by:
nextElementin interfaceEnumerationIterator<Permission>- Returns:
- the next element
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<Permission>
-
next
public Permission next()
- Specified by:
nextin interfaceIterator<Permission>
-
-