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:
Iterable<E>
,Traversable<E>
,java.lang.Iterable<E>
- Direct Known Subclasses:
AbstractList
,AbstractMap
,AbstractSet
,MappedIterable
public abstract class AbstractIterable<E> extends AbstractTraversable<E> implements Iterable<E>
-
-
Constructor Summary
Constructors Constructor Description AbstractIterable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <U> void
forEach(@NotNull Function<E,U> f)
All collection methods can be built upon thisforEach
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.Traversable
isEmpty, makeString, makeString, size, to, toArray, toArray, toIndexedList, toSet, toSortedSet
-
-
-
-
Method Detail
-
forEach
public <U> void forEach(@NotNull @NotNull Function<E,U> f)
Description copied from interface:Traversable
All collection methods can be built upon thisforEach
definition.- Specified by:
forEach
in interfaceTraversable<E>
-
-