@NotThreadSafe public class URLParameterList extends CommonsArrayList<URLParameter> implements IURLParameterList<URLParameterList>
modCount| Constructor and Description |
|---|
URLParameterList() |
URLParameterList(List<? extends URLParameter> aOther) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(String sName) |
boolean |
contains(String sName,
String sValue) |
ICommonsOrderedSet<String> |
getAllParamNames() |
ICommonsList<String> |
getAllParamValues(String sName) |
ICommonsOrderedMap<String,ICommonsList<String>> |
getAsMultiMap() |
URLParameterList |
getClone() |
String |
getFirstParamValue(String sName)
Get the value of the first parameter with the provided name
|
URLParameterList |
remove(String sName)
Remove all parameter with the given name.
|
URLParameterList |
remove(String sName,
String sValue)
Remove all parameter with the given name and value.
|
createFiltered, createFiltered, createFiltered, createFiltered, createFiltered, createFiltered, createInstanceadd, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitadd, add, add, add, add, add, add, add, addAll, addAll, addAll, addIf, addIfNotNull, addRandomthisAsTgetAll, getAllInstanceOf, getAllMapped, getAllMapped, getAsUnmodifiable, getAtIndex, getFirst, getFirst, getLast, getLast, getSortedInline, removeAndReturnElementAtIndex, removeAtIndex, removeFirst, removeLast, reverse, setFirst, setLast, swapItemsadd, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArrayaddAll, addAll, addAll, addAll, addAll, addAll, addAll, addAll, addAllMapped, addAllMapped, addAllMapped, addAllMapped, addAllMapped, addAllMapped, addIf, addIfNotNull, addObject, getAtIndex, getAtIndex, getAtIndex, getAtIndexMapped, getAtIndexMapped, getAtIndexMapped, getAtIndexMapped, getCopyAsList, getCount, getSorted, iterator2, removeAll, removeObject, set, setAll, setAll, setAllMapped, setAllMappedparallelStream, removeIf, streamcontainsAny, containsNone, containsOnly, findAll, findAllInstanceOf, findAllMapped, findAllMapped, findAllMapped, findFirst, findFirst, findFirstIndex, findFirstMapped, findFirstMapped, findLastIndex, forEachBreakable, forEachByIndex, forEachThrowing, getCountisEmpty, isNotEmpty, sizepublic URLParameterList()
public URLParameterList(@Nullable List<? extends URLParameter> aOther)
@Nonnull public URLParameterList remove(@Nullable String sName)
sName - The key to remove@Nonnull public URLParameterList remove(@Nullable String sName, @Nullable String sValue)
sName - The key to remove. May be null.sValue - The value to be removed. May be null.@Nonnull @ReturnsMutableCopy public ICommonsOrderedSet<String> getAllParamNames()
@Nonnull @ReturnsMutableCopy public ICommonsList<String> getAllParamValues(@Nullable String sName)
@Nullable public String getFirstParamValue(@Nullable String sName)
sName - The parameter name to searchnull if no such parameter is present.@Nonnull @ReturnsMutableCopy public ICommonsOrderedMap<String,ICommonsList<String>> getAsMultiMap()
null.@Nonnull @ReturnsMutableCopy public URLParameterList getClone()
getClone in interface ICloneable<ICommonsList<URLParameter>>getClone in class CommonsArrayList<URLParameter>Copyright © 2014–2022 Philip Helger. All rights reserved.