com.github.basking2.sdsai.itrex.functions.DictFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdsai-itrex Show documentation
Show all versions of sdsai-itrex Show documentation
An S-Expression inspiried library focused on iterators.
package com.github.basking2.sdsai.itrex.functions;
import com.github.basking2.sdsai.itrex.EvaluationContext;
import java.util.*;
/**
* A function that materializes an iterator into a dictionary and returns it.
*
* This is useful for passing arguments into java {@code FunctionInterface}s 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.
*/
public class DictFunction implements FunctionInterface
© 2015 - 2024 Weber Informatics LLC | Privacy Policy