com.g2forge.alexandria.expression.IEnvironment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ax-expression Show documentation
Show all versions of ax-expression Show documentation
A library for expressions and their evaluation. Includes a basic implementation for math.
package com.g2forge.alexandria.expression;
import java.util.function.BiPredicate;
import java.util.function.Predicate;
import com.g2forge.alexandria.java.fluent.optional.IOptional;
import com.g2forge.alexandria.java.fluent.optional.factory.IOptionalFactory;
import com.g2forge.alexandria.java.fluent.optional.factory.IOptionalFunctionFactory;
import com.g2forge.alexandria.java.fluent.optional.function.IOptionalFunctional;
public interface IEnvironment, N extends IEnvironment, E extends IExpression> extends IOptionalFunctional {
public static interface IFactory, N extends IEnvironment, E extends IExpression> extends IOptionalFunctionFactory {}
public IOptional extends IExpression> lookup(V variable);
public N override(N override);
public N recursive(BiPredicate super V, ? super V> terminate);
@Override
public N recursive(BiPredicate super V, ? super V> terminate, boolean prior, Class type);
public N restrict(Predicate super V> predicate, IOptionalFactory factory);
}