Package org.apache.storm.utils
Class ListDelegate
java.lang.Object
org.apache.storm.utils.ListDelegate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
addAll
(int i, Collection<?> clctn) boolean
addAll
(Collection<?> clctn) void
clear()
boolean
boolean
containsAll
(Collection<?> clctn) get
(int i) int
boolean
isEmpty()
iterator()
int
listIterator
(int i) remove
(int i) boolean
boolean
removeAll
(Collection<?> clctn) boolean
retainAll
(Collection<?> clctn) void
setDelegate
(List<Object> delegate) int
size()
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
-
Constructor Details
-
ListDelegate
public ListDelegate()
-
-
Method Details
-
getDelegate
-
setDelegate
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
public <T> T[] toArray(T[] ts) -
add
-
add
-
remove
-
remove
-
containsAll
- Specified by:
containsAll
in interfaceCollection<Object>
- Specified by:
containsAll
in interfaceList<Object>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
public void clear() -
get
-
set
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<Object>
-
listIterator
- Specified by:
listIterator
in interfaceList<Object>
-
listIterator
- Specified by:
listIterator
in interfaceList<Object>
-
subList
-