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

com.g2forge.alexandria.expression.IEnvironment Maven / Gradle / Ivy

Go to download

A library for expressions and their evaluation. Includes a basic implementation for math.

There is a newer version: 0.0.18
Show newest version
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> lookup(V variable);

	public N override(N override);

	public N recursive(BiPredicate terminate);

	@Override
	public N recursive(BiPredicate terminate, boolean prior, Class type);

	public N restrict(Predicate predicate, IOptionalFactory factory);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy