@Test public void testLiteralExpression() { Expression exp = createExpression("5 + 5"); assertEquals(10, ((Number) exp.evaluate(null)).intValue()); }
public T evaluate(Object target) { return evaluate(target, null); }
AbstractExpression implements Expression<T>, Serializable, PortableObject { public T evaluate(Object target) { return evaluate(target, null); } }
AbstractExpression implements Expression<T>, Serializable, PortableObject { public T evaluate(Object target) { return evaluate(target, null); } protected  AbstractExpression(); protected  AbstractExpression(String expression); protected  AbstractExpression(InputStream expression); }
AbstractExpression implements Expression<T>, Serializable, PortableObject { public T evaluate(Object target) { return evaluate(target, null); } protected  AbstractExpression(); protected  AbstractExpression(String expression); protected  AbstractExpression(InputStream expression); T evaluate(Object target); void readExternal(PofReader reader); void writeExternal(PofWriter writer); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
AbstractExpression implements Expression<T>, Serializable, PortableObject { public T evaluate(Object target) { return evaluate(target, null); } protected  AbstractExpression(); protected  AbstractExpression(String expression); protected  AbstractExpression(InputStream expression); T evaluate(Object target); void readExternal(PofReader reader); void writeExternal(PofWriter writer); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }