|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
org.processmining.framework.log.rfb.ATEArrayListProxy
public class ATEArrayListProxy
Provides the java.util.ArrayList
interface to a wrapped
AuditTrailEntryList.
Used to retain backward compatibility to previous classic log reading and access implementation.
This class implements a lightweight proxy redirecting all access transparently and immediately to the wrapped audit trail entry list instance, with all performance implications of this.
It should not be used deliberately, its purpose is to retain the
functionality of e.g. LogFilter implementations which use the direct
access to a ProcessInstance's audit trail entries via the
toArrayList()
method of AuditTrailEntries for modification.
Owners of code using the toArrayList()
method for write
access should adjust their code accordingly. Implementations in this
proxy class may miss, fail, or be implemented in a bad-performing or
erroneous manner. Check your results!
AuditTrailEntryList
,
Serialized FormField Summary | |
---|---|
protected AuditTrailEntryList |
list
The wrapped instance of AuditTrailEntryList
to which all access is transparently delegated. |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
protected |
ATEArrayListProxy()
Not in use: not applicable in this context! |
|
ATEArrayListProxy(AuditTrailEntryList aList)
Wraps the provided list of audit trail entries into an interface derived from java.util.ArrayList |
protected |
ATEArrayListProxy(java.util.Collection arg0)
Not in use: not applicable in this context! |
protected |
ATEArrayListProxy(int initialCapacity)
Not in use: not applicable in this context! |
Method Summary | |
---|---|
void |
add(int arg0,
java.lang.Object arg1)
|
boolean |
add(java.lang.Object arg0)
|
boolean |
addAll(java.util.Collection arg0)
|
boolean |
addAll(int arg0,
java.util.Collection arg1)
|
void |
clear()
|
java.lang.Object |
clone()
|
boolean |
contains(java.lang.Object elem)
|
boolean |
containsAll(java.util.Collection arg0)
|
void |
ensureCapacity(int minCapacity)
|
boolean |
equals(java.lang.Object o)
|
protected void |
finalize()
|
java.lang.Object |
get(int index)
|
int |
hashCode()
|
int |
indexOf(java.lang.Object elem)
|
boolean |
isEmpty()
|
java.util.Iterator |
iterator()
|
int |
lastIndexOf(java.lang.Object elem)
|
java.util.ListIterator |
listIterator()
|
java.util.ListIterator |
listIterator(int index)
|
java.lang.Object |
remove(int index)
|
boolean |
remove(java.lang.Object o)
|
boolean |
removeAll(java.util.Collection arg0)
|
protected void |
removeRange(int fromIndex,
int toIndex)
|
boolean |
retainAll(java.util.Collection arg0)
|
java.lang.Object |
set(int arg0,
java.lang.Object arg1)
|
int |
size()
|
java.util.List |
subList(int fromIndex,
int toIndex)
|
java.lang.Object[] |
toArray()
|
java.lang.Object[] |
toArray(java.lang.Object[] arg0)
|
java.lang.String |
toString()
|
void |
trimToSize()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected AuditTrailEntryList list
AuditTrailEntryList
to which all access is transparently delegated.
Constructor Detail |
---|
public ATEArrayListProxy(AuditTrailEntryList aList)
aList
- protected ATEArrayListProxy(int initialCapacity)
Overwritten and declared protected
to
prevent from being used.
initialCapacity
- protected ATEArrayListProxy()
Overwritten and declared protected
to
prevent from being used.
protected ATEArrayListProxy(java.util.Collection arg0)
Overwritten and declared protected
to
prevent from being used.
arg0
- Method Detail |
---|
public void add(int arg0, java.lang.Object arg1)
add
in interface java.util.List
add
in class java.util.ArrayList
public boolean add(java.lang.Object arg0)
add
in interface java.util.Collection
add
in interface java.util.List
add
in class java.util.ArrayList
public boolean addAll(java.util.Collection arg0)
addAll
in interface java.util.Collection
addAll
in interface java.util.List
addAll
in class java.util.ArrayList
public boolean addAll(int arg0, java.util.Collection arg1)
addAll
in interface java.util.List
addAll
in class java.util.ArrayList
public void clear()
clear
in interface java.util.Collection
clear
in interface java.util.List
clear
in class java.util.ArrayList
public java.lang.Object clone()
clone
in class java.util.ArrayList
public boolean contains(java.lang.Object elem)
contains
in interface java.util.Collection
contains
in interface java.util.List
contains
in class java.util.ArrayList
public void ensureCapacity(int minCapacity)
ensureCapacity
in class java.util.ArrayList
public java.lang.Object get(int index)
get
in interface java.util.List
get
in class java.util.ArrayList
public int indexOf(java.lang.Object elem)
indexOf
in interface java.util.List
indexOf
in class java.util.ArrayList
public boolean isEmpty()
isEmpty
in interface java.util.Collection
isEmpty
in interface java.util.List
isEmpty
in class java.util.ArrayList
public int lastIndexOf(java.lang.Object elem)
lastIndexOf
in interface java.util.List
lastIndexOf
in class java.util.ArrayList
public java.lang.Object remove(int index)
remove
in interface java.util.List
remove
in class java.util.ArrayList
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection
remove
in interface java.util.List
remove
in class java.util.ArrayList
protected void removeRange(int fromIndex, int toIndex)
removeRange
in class java.util.ArrayList
public java.lang.Object set(int arg0, java.lang.Object arg1)
set
in interface java.util.List
set
in class java.util.ArrayList
public int size()
size
in interface java.util.Collection
size
in interface java.util.List
size
in class java.util.ArrayList
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection
toArray
in interface java.util.List
toArray
in class java.util.ArrayList
public java.lang.Object[] toArray(java.lang.Object[] arg0)
toArray
in interface java.util.Collection
toArray
in interface java.util.List
toArray
in class java.util.ArrayList
public void trimToSize()
trimToSize
in class java.util.ArrayList
public boolean equals(java.lang.Object o)
equals
in interface java.util.Collection
equals
in interface java.util.List
equals
in class java.util.AbstractList
public int hashCode()
hashCode
in interface java.util.Collection
hashCode
in interface java.util.List
hashCode
in class java.util.AbstractList
public java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
iterator
in interface java.util.Collection
iterator
in interface java.util.List
iterator
in class java.util.AbstractList
public java.util.ListIterator listIterator()
listIterator
in interface java.util.List
listIterator
in class java.util.AbstractList
public java.util.ListIterator listIterator(int index)
listIterator
in interface java.util.List
listIterator
in class java.util.AbstractList
public java.util.List subList(int fromIndex, int toIndex)
subList
in interface java.util.List
subList
in class java.util.AbstractList
public boolean containsAll(java.util.Collection arg0)
containsAll
in interface java.util.Collection
containsAll
in interface java.util.List
containsAll
in class java.util.AbstractCollection
public boolean removeAll(java.util.Collection arg0)
removeAll
in interface java.util.Collection
removeAll
in interface java.util.List
removeAll
in class java.util.AbstractCollection
public boolean retainAll(java.util.Collection arg0)
retainAll
in interface java.util.Collection
retainAll
in interface java.util.List
retainAll
in class java.util.AbstractCollection
public java.lang.String toString()
toString
in class java.util.AbstractCollection
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |