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

astra.tr.Function Maven / Gradle / Ivy

There is a newer version: 1.4.2
Show newest version
package astra.tr;

import astra.formula.Predicate;

public class Function {
	public Predicate identifier;
	public TRRule[] rules;
	
	public Function(Predicate identifier) {
		this(identifier, new TRRule[0]);
	}

	public Function(Predicate identifier, TRRule rules[]) {
		this.identifier = identifier;
		this.rules = rules;
	}

	public TRRule[] rules() {
		return rules;
	}
	
	public String toString() {
		return identifier.toString();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy