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 SummaryFields Modifier and Type Field Description private longbits
 - 
Constructor SummaryConstructors Constructor Description Iter(long bits)
 - 
Method SummaryAll 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.util.EnumerationasIterator
 - 
Methods inherited from interface java.util.IteratorforEachRemaining, remove
 
- 
 
- 
- 
- 
Method Detail- 
hasMoreElementspublic boolean hasMoreElements() Description copied from interface:EnumerationIteratorDetermine if there are more elements to iterate over in the direction of this iterator.- Specified by:
- hasMoreElementsin interface- Enumeration<Permission>
- Specified by:
- hasMoreElementsin interface- EnumerationIterator<Permission>
- Returns:
- trueif there are more elements,- falseotherwise
 
 - 
nextElementpublic Permission nextElement() Description copied from interface:EnumerationIteratorGet the next element in the direction of this iterator.- Specified by:
- nextElementin interface- Enumeration<Permission>
- Specified by:
- nextElementin interface- EnumerationIterator<Permission>
- Returns:
- the next element
 
 - 
hasNextpublic boolean hasNext() - Specified by:
- hasNextin interface- Iterator<Permission>
 
 - 
nextpublic Permission next() - Specified by:
- nextin interface- Iterator<Permission>
 
 
- 
 
-