This web site requires JavaScript for proper operation. JavaScript is disabled on your browser.
VCollections – Release 1
Interface org.violetlib.collections .IIterable
Deprecated: Show Hide
classes...
enum constants...
fields...
static methods...
constructors...
methods...
properties...
Modifier and Type
Static Method and Description
from
static <T> IIterable<T>
from (Iterable<T> it)
Create an IIterable
from an Iterable
.
Create an IIterable
from an Iterable
. The iterators produced by the returned IIterable
will throw a runtime exception if an iterator produced by the Iterable
returns a null value.
Parameters: it
- The source iterable.
Modifier and Type
Method and Description
forEach
void
forEach (Consumer<? super T> arg0)
void forEach (Consumer<? super T> arg0)
iterator
Returns an iterator over non-null elements of type T
.
Returns an iterator over non-null elements of type T
.
Specified by:
iterator
in interface Iterable<T >
Returns: an Iterator.
spliterator
Spliterator<T>
spliterator ()
Spliterator<T> spliterator ()