All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.basking2.sdsai.itrex.functions.GetFunction Maven / Gradle / Ivy

There is a newer version: 1.1.23
Show newest version
package com.github.basking2.sdsai.itrex.functions;

import com.github.basking2.sdsai.itrex.EvaluationContext;

import java.util.Iterator;

/**
 * Get function. ["get", "variable"].
 */
public class GetFunction extends AbstractFunction1 {
    @Override
    protected Object applyImpl(Object o, Iterator rest, EvaluationContext context) {
        return context.get(o);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy