public static interface Attributes.Entry extends List<String>
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Get the mapping key.
|
void |
removeRange(int from,
int to)
Remove all the values for the given key between the
from index (inclusive) and the to index
(exclusive). |
default Spliterator<String> |
spliterator()
Create a spliterator over the elements of this ordered and non-null collection.
|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, subList, toArray, toArray
parallelStream, removeIf, stream
String getKey()
void removeRange(int from, int to)
from
index (inclusive) and the to
index
(exclusive).from
- the start index (inclusive)to
- the end index (exclusive)IndexOutOfBoundsException
- if from
or to
is outside of the allowed rangedefault Spliterator<String> spliterator()
spliterator
in interface Collection<String>
spliterator
in interface Iterable<String>
spliterator
in interface List<String>
Copyright © 2020 JBoss by Red Hat. All rights reserved.