org.peaseplate.internal.lang.command
Class AbstractCompareCommand
java.lang.Object
org.peaseplate.internal.lang.command.AbstractCommand
org.peaseplate.internal.lang.command.AbstractDoubleParameterCommand
org.peaseplate.internal.lang.command.AbstractCompareCommand
- All Implemented Interfaces:
- ICommand
- Direct Known Subclasses:
- GreaterEqualCommand, GreaterThanCommand, LessEqualCommand, LessThanCommand
public abstract class AbstractCompareCommand
- extends AbstractDoubleParameterCommand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractCompareCommand
public AbstractCompareCommand(TemplateLocator locator,
int line,
int column,
ICommand leftCommand,
ICommand rightCommand)
getSign
public abstract java.lang.String getSign()
call
public java.lang.Object call(BuildContext context)
throws TemplateRuntimeException
- Throws:
TemplateRuntimeException
- See Also:
ICommand.call(BuildContext)
evaluateNull
public java.lang.Boolean evaluateNull()
throws TemplateRuntimeException
- Throws:
TemplateRuntimeException
evaluateComparable
public <TYPE> java.lang.Boolean evaluateComparable(java.lang.Comparable<TYPE> left,
java.lang.Comparable<TYPE> right)
throws TemplateRuntimeException
- Throws:
TemplateRuntimeException
evaluateNonComparable
public java.lang.Boolean evaluateNonComparable(java.lang.Object left,
java.lang.Object right)
throws TemplateRuntimeException
- Throws:
TemplateRuntimeException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
Object.toString()
Copyright © 2008. All Rights Reserved.