public final class HeaderValues extends AbstractCollection<String> implements Deque<String>, List<String>, RandomAccess
containsAll, removeAll, retainAll, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode, parallelStream, removeAll, removeIf, retainAll, spliterator, stream
containsAll, equals, hashCode, removeAll, replaceAll, retainAll, sort, spliterator
public HttpString getHeaderName()
public int size()
public boolean isEmpty()
isEmpty
in interface Collection<String>
isEmpty
in interface List<String>
isEmpty
in class AbstractCollection<String>
public void clear()
clear
in interface Collection<String>
clear
in interface List<String>
clear
in class AbstractCollection<String>
public ListIterator<String> listIterator()
listIterator
in interface List<String>
public ListIterator<String> listIterator(int index)
listIterator
in interface List<String>
public Iterator<String> descendingIterator()
descendingIterator
in interface Deque<String>
public boolean offerFirst(String headerValue)
offerFirst
in interface Deque<String>
public boolean offerLast(String headerValue)
public int lastIndexOf(Object o)
lastIndexOf
in interface List<String>
public boolean addAll(int index, Collection<? extends String> c)
public String[] toArray()
toArray
in interface Collection<String>
toArray
in interface List<String>
toArray
in class AbstractCollection<String>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<String>
toArray
in interface List<String>
toArray
in class AbstractCollection<String>
public boolean contains(Object o)
public boolean removeFirstOccurrence(Object o)
removeFirstOccurrence
in interface Deque<String>
public boolean removeLastOccurrence(Object o)
removeLastOccurrence
in interface Deque<String>
public boolean add(String s)
public boolean offer(String s)
public String poll()
public String peek()
public String remove()
public String removeFirst()
removeFirst
in interface Deque<String>
public String removeLast()
removeLast
in interface Deque<String>
public String element()
public boolean remove(Object obj)
public boolean addAll(Collection<? extends String> c)
addAll
in interface Collection<String>
addAll
in interface List<String>
addAll
in class AbstractCollection<String>
Copyright © 2017 JBoss by Red Hat. All rights reserved.