Package org.drools.core.phreak
Class ReactiveList<T>
- java.lang.Object
-
- org.drools.core.phreak.AbstractReactiveObject
-
- org.drools.core.phreak.ReactiveCollection<T,List<T>>
-
- org.drools.core.phreak.ReactiveList<T>
-
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,List<T>
,ReactiveObject
public class ReactiveList<T> extends ReactiveCollection<T,List<T>> implements List<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.drools.core.phreak.ReactiveCollection
ReactiveCollection.ReactiveIterator<WI extends Iterator<T>>
-
-
Field Summary
-
Fields inherited from class org.drools.core.phreak.ReactiveCollection
wrapped
-
-
Constructor Summary
Constructors Constructor Description ReactiveList()
ReactiveList(List<T> wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, T element)
boolean
addAll(int index, Collection<? extends T> c)
T
get(int index)
int
indexOf(Object o)
int
lastIndexOf(Object o)
ListIterator<T>
listIterator()
ListIterator<T>
listIterator(int index)
T
remove(int index)
T
set(int index, T element)
List<T>
subList(int fromIndex, int toIndex)
String
toString()
-
Methods inherited from class org.drools.core.phreak.ReactiveCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
-
Methods inherited from class org.drools.core.phreak.AbstractReactiveObject
addLeftTuple, getLeftTuples, notifyModification, removeLeftTuple
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
Method Detail
-
addAll
public boolean addAll(int index, Collection<? extends T> c)
-
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOf
in interfaceList<T>
-
listIterator
public ListIterator<T> listIterator()
- Specified by:
listIterator
in interfaceList<T>
-
listIterator
public ListIterator<T> listIterator(int index)
- Specified by:
listIterator
in interfaceList<T>
-
-