public interface FlowUniverse<E>
extends java.lang.Iterable<E>
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<E> |
iterator()
returns an iterator over the elements of the universe.
|
int |
size()
returns the number of elements of the universe.
|
E[] |
toArray()
returns the elements of the universe in form of an array.
The returned array could be backed or not. |
int size()
java.util.Iterator<E> iterator()
iterator
in interface java.lang.Iterable<E>
E[] toArray()