com.github.andrewoma.dexx.collection.internal.base
Class MappedIterable<T,F>

java.lang.Object
  extended by com.github.andrewoma.dexx.collection.internal.base.AbstractTraversable<E>
      extended by com.github.andrewoma.dexx.collection.internal.base.AbstractIterable<T>
          extended by com.github.andrewoma.dexx.collection.internal.base.MappedIterable<T,F>
All Implemented Interfaces:
Traversable<T>, Iterable<T>

public class MappedIterable<T,F>
extends AbstractIterable<T>


Constructor Summary
MappedIterable(Iterable<F> from, Function<F,T> mapFunction)
           
 
Method Summary
 Iterator<T> iterator()
           
 
Methods inherited from class com.github.andrewoma.dexx.collection.internal.base.AbstractIterable
forEach
 
Methods inherited from class com.github.andrewoma.dexx.collection.internal.base.AbstractTraversable
isEmpty, makeString, makeString, size, to, toArray, toArray, toIndexedList, toSet, toSortedSet, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.github.andrewoma.dexx.collection.Traversable
isEmpty, makeString, makeString, size, to, toArray, toArray, toIndexedList, toSet, toSortedSet
 

Constructor Detail

MappedIterable

public MappedIterable(Iterable<F> from,
                      Function<F,T> mapFunction)
Method Detail

iterator

@NotNull
public Iterator<T> iterator()


Copyright © 2014. All Rights Reserved.