Java lib for parsing and evaluating simple math expressions, using fractions. This was a seminar project in a Programming class. It is not very useful, but works
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.
|
package net.mightypork.rcalc.tokens;
|
|
|
|
|
|
import net.mightypork.rcalc.IToken;
|
|
|
|
|
|
/**
|
|
* Right parenthesis token
|
|
*
|
|
* @author Ondrej Hruska
|
|
*/
|
|
public class TokenParenthesisRight implements IToken {
|
|
|
|
@Override
|
|
public String toString() {
|
|
|
|
return ")";
|
|
}
|
|
|
|
}
|
|
|