Class MappedSpliterator<E,F>

java.lang.Object
org.jhotdraw8.collection.mapped.MappedSpliterator<E,F>
Type Parameters:
E - the mapped element type
F - the original element type
All Implemented Interfaces:
Spliterator<E>

public class MappedSpliterator<E,F> extends Object implements Spliterator<E>
Maps a Spliterator to a different element type.

The underlying iterator is referenced - not copied.

Author:
Werner Randelshofer