public class ArrayFlowUniverse<E> extends Object implements FlowUniverse<E>
| Constructor and Description |
|---|
ArrayFlowUniverse(E[] elements) |
| Modifier and Type | Method and Description |
|---|---|
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. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ArrayFlowUniverse(E[] elements)
public int size()
FlowUniversesize in interface FlowUniverse<E>public Iterator<E> iterator()
FlowUniversepublic E[] toArray()
FlowUniversetoArray in interface FlowUniverse<E>Copyright © 2020 Soot OSS. All rights reserved.