Class MappedList<E,F>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
org.jhotdraw8.collection.mapped.MappedList<E,F>
Type Parameters:
E - the mapped element type
F - the original element type
All Implemented Interfaces:
Iterable<E>, Collection<E>, List<E>, SequencedCollection<E>

public final class MappedList<E,F> extends AbstractList<E>
Maps a List to a different element type.

The underlying list is referenced - not copied.

Author:
Werner Randelshofer