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 String
getKey()
Get the mapping key.void
removeRange(int from, int to)
Remove all the values for the given key between thefrom
index (inclusive) and theto
index (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 thefrom
index (inclusive) and theto
index (exclusive).- Parameters:
from
- the start index (inclusive)to
- the end index (exclusive)- Throws:
IndexOutOfBoundsException
- iffrom
orto
is 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:
spliterator
in interfaceCollection<String>
- Specified by:
spliterator
in interfaceIterable<String>
- Specified by:
spliterator
in interfaceList<String>
- Returns:
- the spliterator
-
-