Package org.wildfly.security.authz
Interface Attributes.Entry
- All Known Subinterfaces:
Attributes.SetEntry
- All Known Implementing Classes:
SimpleAttributesEntry
- Enclosing interface:
- Attributes
The entry collection for a mapping.
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()Get the mapping key.voidremoveRange(int from, int to) Remove all the values for the given key between thefromindex (inclusive) and thetoindex (exclusive).default Spliterator<String>Create a spliterator over the elements of this ordered and non-null collection.Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Method Details
-
getKey
String getKey()Get the mapping key.- Returns:
- the mapping key
-
removeRange
void removeRange(int from, int to) Remove all the values for the given key between thefromindex (inclusive) and thetoindex (exclusive).- Parameters:
from- the start index (inclusive)to- the end index (exclusive)- Throws:
IndexOutOfBoundsException- iffromortois outside of the allowed range
-
spliterator
Create a spliterator over the elements of this ordered and non-null collection.- Specified by:
spliteratorin interfaceCollection<String>- Specified by:
spliteratorin interfaceIterable<String>- Specified by:
spliteratorin interfaceList<String>- Returns:
- the spliterator
-