|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.xsom.impl.scd.Iterators
public class Iterators
Various convenient Iterator
implementations.
Nested Class Summary | |
---|---|
static class |
Iterators.Adapter<T,U>
Iterator that wraps another Iterator and changes its type. |
static class |
Iterators.Array<T>
Array iterator. |
static class |
Iterators.Filter<T>
Filter out objects from another iterator. |
static class |
Iterators.Map<T,U>
For each U, apply U->Iterator<T> function and then iterate all the resulting T. |
static class |
Iterators.Union<T>
Union of two iterators. |
Constructor Summary | |
---|---|
Iterators()
|
Method Summary | ||
---|---|---|
static
|
empty()
|
|
static
|
singleton(T value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Iterators()
Method Detail |
---|
public static <T> Iterator<T> empty()
public static <T> Iterator<T> singleton(T value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |