public class MMAP extends NamedWarpScriptFunction implements WarpScriptStackFunction
2: map 1: macro MMAP
The macro and the map are popped out of the stack. The macro is called for each entry of 'map' with the index of the current element, by default, the value and the key on the stack.
| Constructor and Description |
|---|
MMAP(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
apply(WarpScriptStack stack) |
getName, refSnapshot, setName, toStringpublic java.lang.Object apply(WarpScriptStack stack) throws WarpScriptException
apply in interface WarpScriptStackFunctionWarpScriptException