DirtyTracker
, BasicDirtyTracker
, java.lang.Iterable<E>
, java.util.Collection<E>
, java.util.List<E>
public class RecordingList<E> extends RecordingCollection<java.util.List<E>,E> implements java.util.List<E>
allowedSubtypes, delegate, indexed, updatable
Constructor | Description |
---|---|
RecordingList(java.util.List<E> delegate,
boolean indexed,
java.util.Set<java.lang.Class<?>> allowedSubtypes,
boolean updatable,
boolean optimize) |
Modifier and Type | Method | Description |
---|---|---|
void |
add(int index,
E element) |
|
boolean |
addAll(int index,
java.util.Collection<? extends E> c) |
|
E |
get(int index) |
|
int |
indexOf(java.lang.Object o) |
|
int |
lastIndexOf(java.lang.Object o) |
|
java.util.ListIterator<E> |
listIterator() |
|
java.util.ListIterator<E> |
listIterator(int index) |
|
E |
remove(int index) |
|
E |
set(int index,
E element) |
|
java.util.List<E> |
subList(int fromIndex,
int toIndex) |
Read-only
|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, of, of, of, of, of, of, of, of, of, of, of, of, remove, removeAll, replaceAll, retainAll, size, sort, spliterator, toArray, toArray
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
$$_copyDirty, $$_getDirty, $$_getSimpleDirty, $$_hasParent, $$_isDirty, $$_isDirty, $$_markDirty, $$_resetDirty, $$_setDirty, $$_setParent, $$_unmarkDirty, $$_unsetParent, add, addAction, addAll, allowDuplicates, checkType, checkType, clear, contains, containsAll, equals, getActions, getAddedElements, getCurrentIterator, getDelegate, getRemovedElements, hasActions, hashCode, initiateActionsAgainstState, isEmpty, isHashBased, iterator, recordingIterator, remove, removeAll, replaceActionElement, replay, resetActions, resetRecordingIterator, retainAll, setActions, size, toArray, toArray
public RecordingList(java.util.List<E> delegate, boolean indexed, java.util.Set<java.lang.Class<?>> allowedSubtypes, boolean updatable, boolean optimize)
public boolean addAll(int index, java.util.Collection<? extends E> c)
addAll
in interface java.util.List<E>
public java.util.ListIterator<E> listIterator()
listIterator
in interface java.util.List<E>
public java.util.ListIterator<E> listIterator(int index)
listIterator
in interface java.util.List<E>
public java.util.List<E> subList(int fromIndex, int toIndex)
subList
in interface java.util.List<E>
public int indexOf(java.lang.Object o)
indexOf
in interface java.util.List<E>
public int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List<E>
Copyright © 2014–2018 Blazebit. All rights reserved.