|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.problets.domain.model.expression.GradingUtilities
public class GradingUtilities
GradingUtilities To hold grading functions for expressions
Constructor Summary | |
---|---|
GradingUtilities()
|
Method Summary | |
---|---|
static java.lang.String |
getEquivTemplate(java.lang.String currentTemplate,
java.lang.String suffix)
Returns a literal constant equivalent to the value of the expression currentTemplate + suffix. |
static boolean |
isRandomConstant(java.lang.String template)
Returns true if the template is that of a random constant and false otherwise |
static boolean |
isVariableTemplate(java.lang.String template)
Returns true of the template is a variable and false otherwise |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GradingUtilities()
Method Detail |
---|
public static java.lang.String getEquivTemplate(java.lang.String currentTemplate, java.lang.String suffix)
public static boolean isRandomConstant(java.lang.String template)
public static boolean isVariableTemplate(java.lang.String template)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |