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 void
add(int i, Object e)
boolean
add(Object e)
boolean
addAll(int i, Collection<?> clctn)
boolean
addAll(Collection<?> clctn)
void
clear()
boolean
contains(Object o)
boolean
containsAll(Collection<?> clctn)
Object
get(int i)
List<Object>
getDelegate()
int
indexOf(Object o)
boolean
isEmpty()
Iterator<Object>
iterator()
int
lastIndexOf(Object o)
ListIterator<Object>
listIterator()
ListIterator<Object>
listIterator(int i)
Object
remove(int i)
boolean
remove(Object o)
boolean
removeAll(Collection<?> clctn)
boolean
retainAll(Collection<?> clctn)
Object
set(int i, Object e)
void
setDelegate(List<Object> delegate)
int
size()
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:
containsAll
in interfaceCollection<Object>
- Specified by:
containsAll
in 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:
lastIndexOf
in interfaceList<Object>
-
listIterator
public ListIterator<Object> listIterator()
- Specified by:
listIterator
in interfaceList<Object>
-
listIterator
public ListIterator<Object> listIterator(int i)
- Specified by:
listIterator
in interfaceList<Object>
-
-