Package org.wildfly.security.permission
Class LongNameSetPermissionCollection.Iter
- java.lang.Object
-
- org.wildfly.security.permission.LongNameSetPermissionCollection.Iter
-
- All Implemented Interfaces:
Enumeration<Permission>
,Iterator<Permission>
,EnumerationIterator<Permission>
- Enclosing class:
- LongNameSetPermissionCollection
private class LongNameSetPermissionCollection.Iter extends Object implements EnumerationIterator<Permission>
-
-
Field Summary
Fields Modifier and Type Field Description private long
bits
-
Constructor Summary
Constructors Constructor Description Iter(long bits)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasMoreElements()
Determine if there are more elements to iterate over in the direction of this iterator.boolean
hasNext()
Permission
next()
Permission
nextElement()
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:EnumerationIterator
Determine if there are more elements to iterate over in the direction of this iterator.- Specified by:
hasMoreElements
in interfaceEnumeration<Permission>
- Specified by:
hasMoreElements
in interfaceEnumerationIterator<Permission>
- Returns:
true
if there are more elements,false
otherwise
-
nextElement
public Permission nextElement()
Description copied from interface:EnumerationIterator
Get the next element in the direction of this iterator.- Specified by:
nextElement
in interfaceEnumeration<Permission>
- Specified by:
nextElement
in interfaceEnumerationIterator<Permission>
- Returns:
- the next element
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceIterator<Permission>
-
next
public Permission next()
- Specified by:
next
in interfaceIterator<Permission>
-
-