|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.util.yield.Iterables
public class Iterables
Utility class providing utility functions for Iterable.
Zephyr Business Solution
| Constructor Summary | |
|---|---|
Iterables()
|
|
| Method Summary | |
|---|---|
static Iterable |
fromIterator(java.util.Iterator it)
Transforms an Iterator object to an Iterable object. |
static Iterable |
seq(Iterable[] arr)
Create a new Iterable object that sequentially iterates through the Iterable objects in an array. |
static Iterable |
seq(Iterable it1,
Iterable it2)
Create a new Iterable object that sequentially iterates through the given two Iterable object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Iterables()
| Method Detail |
|---|
public static Iterable seq(Iterable it1,
Iterable it2)
it1 - the first Iterable object.it2 - the second Iterable object.
public static Iterable seq(Iterable[] arr)
arr - the array.
public static Iterable fromIterator(java.util.Iterator it)
it - the Iterator object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||