com.github.andrewoma.dexx.collection.internal.base
Class AbstractIterable<E>
java.lang.Object
com.github.andrewoma.dexx.collection.internal.base.AbstractTraversable<E>
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>
|
Method Summary |
|
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 interface com.github.andrewoma.dexx.collection.Iterable |
iterator |
AbstractIterable
public AbstractIterable()
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.