Interface FlowUniverse<E>

    • Method Detail

      • size

        int size()
        returns the number of elements of the universe.
        Returns:
        the size of the universe.
      • iterator

        Iterator<E> iterator()
        returns an iterator over the elements of the universe.
        Specified by:
        iterator in interface Iterable<E>
        Returns:
        an Iterator over the elements.
      • toArray

        E[] toArray()
        returns the elements of the universe in form of an array.
        The returned array could be backed or not. If you want to be sure that it is unbacked, clone() it.
        Returns:
        the elements of the universe.