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

org.unlaxer.tinyexpression.loader.model.Formula Maven / Gradle / Ivy

There is a newer version: 1.4.6
Show newest version
package org.unlaxer.tinyexpression.loader.model;

public interface Formula {

  public float calc();


  public class ImmediateValueFormula implements Formula {

    final float value;

    public ImmediateValueFormula(float value) {
      super();
      this.value = value;
    }

    @Override
    public float calc() {
      return value;
    }
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy