Class MappedReadOnlyList<E,F>

Type Parameters:
E - the mapped element type
F - the original element type
All Implemented Interfaces:
Iterable<E>, ReadOnlyCollection<E>, ReadOnlyList<E>, ReadOnlySequencedCollection<E>

public final class MappedReadOnlyList<E,F> extends AbstractReadOnlyList<E>
Maps a ReadOnlyList to a different element type.

The underlying List is referenced - not copied.

Author:
Werner Randelshofer