|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--jltools.util.TransformingList | +--jltools.util.CachingTransformingList
This subclass of TransformingList applies the transformation to each element of the underlying list at most once.
Fields inherited from class jltools.util.TransformingList |
trans, underlying |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
CachingTransformingList(java.util.Collection underlying,
Transformation trans)
|
|
CachingTransformingList(java.util.List underlying,
Transformation trans)
|
Method Summary | |
java.lang.Object |
get(int index)
|
Methods inherited from class jltools.util.TransformingList |
size |
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 |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
Constructor Detail |
public CachingTransformingList(java.util.Collection underlying, Transformation trans)
public CachingTransformingList(java.util.List underlying, Transformation trans)
Method Detail |
public java.lang.Object get(int index)
get
in class TransformingList
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |