Class DictFunction

java.lang.Object
com.github.basking2.sdsai.itrex.functions.DictFunction
All Implemented Interfaces:
FunctionInterface<Map<Object,Object>>, BiFunction<Iterator<?>,EvaluationContext,Map<Object,Object>>

public class DictFunction extends Object implements FunctionInterface<Map<Object,Object>>
A function that materializes an iterator into a dictionary and returns it. This is useful for passing arguments into java FunctionInterfaces you write and bind as functions. This is not termed, "Map", as in this language "map" is a function performed on sequences. If an odd number of arguments is given, the last one is set to NULL.