T - The key type of the mapV - The value type of the map/collectionpublic final class IterHelper<T,V> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
IterHelper.IterCallback<V> |
static class |
IterHelper.MapIterCallback<T,V> |
| Constructor and Description |
|---|
IterHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
loopMap(Object x,
IterHelper.MapIterCallback<T,V> iter) |
void |
loopOrSingle(Object x,
IterHelper.IterCallback<V> iter)
Calls eval for each entry found, or just once if the "x" isn't iterable/collection/list/etc.
|
public void loopMap(Object x, IterHelper.MapIterCallback<T,V> iter)
public void loopOrSingle(Object x, IterHelper.IterCallback<V> iter)