T
- generic type of elements within the list.public class ShuffleInsertionList<T>
extends java.util.AbstractList<T>
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected T[] |
newElements |
protected int[] |
positions |
protected java.util.List<T> |
source |
Constructor and Description |
---|
ShuffleInsertionList(java.util.List<T> source) |
ShuffleInsertionList(java.util.List<T> source,
int[] elementPositions) |
ShuffleInsertionList(java.util.List<T> source,
java.util.List<T> modifiedOrder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
T |
get(int index) |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
protected java.util.List<T> source
protected int[] positions
protected T[] newElements
public ShuffleInsertionList(java.util.List<T> source)
public ShuffleInsertionList(java.util.List<T> source, int[] elementPositions)