E - The type of element that makes up the sequence.public interface Sequential<E> extends Iterable<E>
| Modifier and Type | Method and Description |
|---|---|
Iterator<E> |
createIterator() |
int |
getSize()
This method returns the number of elements in the sequence.
|
default boolean |
isEmpty()
This method checks to see if the sequence is empty.
|
default Iterator<E> |
iterator() |
E[] |
toArray()
This method returns an array containing the elements in the sequence.
|
forEach, spliteratordefault boolean isEmpty()
int getSize()
E[] toArray()
Copyright © 2016 Crater Dog Technologies(TM). All rights reserved.