Package org.wildfly.security.authz
Interface Attributes.Entry
-
- All Known Subinterfaces:
Attributes.SetEntry
- All Known Implementing Classes:
SimpleAttributesEntry
- Enclosing interface:
- Attributes
public static interface Attributes.Entry extends List<String>
The entry collection for a mapping.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetKey()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>spliterator()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 Detail
-
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
default Spliterator<String> 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
-
-