You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
317 B
20 lines
317 B
package net.mightypork.rcalc;
|
|
|
|
|
|
import net.mightypork.rcalc.numbers.Fraction;
|
|
|
|
|
|
/**
|
|
* Interface of an object that can be turned into a fractional value
|
|
*
|
|
* @author Ondrej Hruska
|
|
*/
|
|
public interface IEvaluable {
|
|
|
|
/**
|
|
* Get fractional value
|
|
*
|
|
* @return fractional value
|
|
*/
|
|
public Fraction evaluate();
|
|
}
|
|
|