Modifier and Type | Class and Description |
---|---|
class |
ForEachLoop.StateAwareIterator
Wraps
Iterator instance in order to allow setup properties begin, end and step of iteration. |
class |
ForEachLoop.Status
Provides the functionality of
LoopTagStatus for state of iteration. |
Modifier and Type | Method and Description |
---|---|
static <T> ForEachLoop<T> |
getInstance(Iterable<T> iterable) |
static <T> ForEachLoop<T> |
getInstance(Iterator<T> iterator) |
static <T> ForEachLoop<T> |
getInstance(T[] array) |
ForEachLoop.Status |
getStatus() |
Iterator<T> |
iterator() |
void |
setBegin(int begin) |
void |
setEnd(int end) |
void |
setStep(int step) |
public static <T> ForEachLoop<T> getInstance(Iterator<T> iterator)
public static <T> ForEachLoop<T> getInstance(Iterable<T> iterable)
public static <T> ForEachLoop<T> getInstance(T[] array)
public ForEachLoop.Status getStatus()
public void setBegin(int begin)
public void setEnd(int end)
public void setStep(int step)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.