com.github.basking2.sdsai.itrex.functions.PrintArgsFunction 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.io.PrintStream;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import static com.github.basking2.sdsai.itrex.iterators.Iterators.mapIterator;
public class PrintArgsFunction implements FunctionInterface> {
final private PrintStream out;
public PrintArgsFunction(PrintStream out) {
this.out = out;
};
@Override
public Iterator> apply(final Iterator> iterator, final EvaluationContext evaluationContext) {
final List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy