Class ShuffleInsertionList<T>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<T>
-
- org.processmining.filtering.xflog.implementations.ShuffleInsertionList<T>
-
- Type Parameters:
T- generic type of elements within the list.
- All Implemented Interfaces:
java.lang.Cloneable,java.lang.Iterable<T>,java.util.Collection<T>,java.util.List<T>
- Direct Known Subclasses:
XFLogImpl,XFTraceImpl
public class ShuffleInsertionList<T> extends java.util.AbstractList<T> implements java.lang.CloneableAn abstract shuffle insertion list is a list that allows a programmer to hide/add/duplicate elements from the list. It does so by maintaining an array of indices referring either to: 1. the original list 2. a set of "added" elements.- Author:
- S.J. van Zelst
-
-
Field Summary
Fields Modifier and Type Field Description protected T[]newElementsprotected int[]positionsprotected java.util.List<T>source
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()Tget(int index)intsize()-
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
-