Package org.apache.storm.utils
Class ListDelegate
- java.lang.Object
-
- org.apache.storm.utils.ListDelegate
-
-
Constructor Summary
Constructors Constructor Description ListDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int i, Object e)booleanadd(Object e)booleanaddAll(int i, Collection<?> clctn)booleanaddAll(Collection<?> clctn)voidclear()booleancontains(Object o)booleancontainsAll(Collection<?> clctn)Objectget(int i)List<Object>getDelegate()intindexOf(Object o)booleanisEmpty()Iterator<Object>iterator()intlastIndexOf(Object o)ListIterator<Object>listIterator()ListIterator<Object>listIterator(int i)Objectremove(int i)booleanremove(Object o)booleanremoveAll(Collection<?> clctn)booleanretainAll(Collection<?> clctn)Objectset(int i, Object e)voidsetDelegate(List<Object> delegate)intsize()List<Object>subList(int i, int i1)Object[]toArray()<T> T[]toArray(T[] ts)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
-
-
-
Method Detail
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(Object o)
-
toArray
public Object[] toArray()
-
toArray
public <T> T[] toArray(T[] ts)
-
add
public boolean add(Object e)
-
remove
public boolean remove(Object o)
-
containsAll
public boolean containsAll(Collection<?> clctn)
- Specified by:
containsAllin interfaceCollection<Object>- Specified by:
containsAllin interfaceList<Object>
-
addAll
public boolean addAll(Collection<?> clctn)
-
addAll
public boolean addAll(int i, Collection<?> clctn)
-
removeAll
public boolean removeAll(Collection<?> clctn)
-
retainAll
public boolean retainAll(Collection<?> clctn)
-
clear
public void clear()
-
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOfin interfaceList<Object>
-
listIterator
public ListIterator<Object> listIterator()
- Specified by:
listIteratorin interfaceList<Object>
-
listIterator
public ListIterator<Object> listIterator(int i)
- Specified by:
listIteratorin interfaceList<Object>
-
-