com.github.andrewoma.dexx.collection.internal.base
Class AbstractIterable<E>

java.lang.Object
  extended by com.github.andrewoma.dexx.collection.internal.base.AbstractTraversable<E>
      extended by com.github.andrewoma.dexx.collection.internal.base.AbstractIterable<E>
All Implemented Interfaces:
Traversable<E>, Iterable<E>
Direct Known Subclasses:
AbstractList, AbstractMap, AbstractSet, MappedIterable

public abstract class AbstractIterable<E>
extends AbstractTraversable<E>
implements Iterable<E>


Constructor Summary
AbstractIterable()
           
 
Method Summary
<U> void
forEach(Function<E,U> f)
          All collection methods can be built upon this forEach definition.
 
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.Iterable
iterator
 
Methods inherited from interface com.github.andrewoma.dexx.collection.Traversable
isEmpty, makeString, makeString, size, to, toArray, toArray, toIndexedList, toSet, toSortedSet
 

Constructor Detail

AbstractIterable

public AbstractIterable()
Method Detail

forEach

public <U> void forEach(@NotNull
                        Function<E,U> f)
Description copied from interface: Traversable
All collection methods can be built upon this forEach definition.

Specified by:
forEach in interface Traversable<E>


Copyright © 2014. All Rights Reserved.