org.peaseplate.internal.lang.command
Class GreaterThanCommand

java.lang.Object
  extended by org.peaseplate.internal.lang.command.AbstractCommand
      extended by org.peaseplate.internal.lang.command.AbstractDoubleParameterCommand
          extended by org.peaseplate.internal.lang.command.AbstractCompareCommand
              extended by org.peaseplate.internal.lang.command.GreaterThanCommand
All Implemented Interfaces:
ICommand

public class GreaterThanCommand
extends AbstractCompareCommand


Constructor Summary
GreaterThanCommand(TemplateLocator locator, int line, int column, ICommand leftCommand, ICommand rightCommand)
           
 
Method Summary
<TYPE> java.lang.Boolean
evaluateComparable(java.lang.Comparable<TYPE> left, java.lang.Comparable<TYPE> right)
           
 java.lang.Boolean evaluateNonComparable(java.lang.Object left, java.lang.Object right)
           
 java.lang.Boolean evaluateNull()
           
 java.lang.String getSign()
           
 
Methods inherited from class org.peaseplate.internal.lang.command.AbstractCompareCommand
call, toString
 
Methods inherited from class org.peaseplate.internal.lang.command.AbstractDoubleParameterCommand
callLeftCommand, callRightCommand, getLeftCommand, getRightCommand
 
Methods inherited from class org.peaseplate.internal.lang.command.AbstractCommand
getColumn, getLine, getLocator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GreaterThanCommand

public GreaterThanCommand(TemplateLocator locator,
                          int line,
                          int column,
                          ICommand leftCommand,
                          ICommand rightCommand)
Method Detail

getSign

public java.lang.String getSign()
Specified by:
getSign in class AbstractCompareCommand
See Also:
AbstractNumericCommand.getSign()

evaluateNull

public java.lang.Boolean evaluateNull()
                               throws TemplateRuntimeException
Overrides:
evaluateNull in class AbstractCompareCommand
Throws:
TemplateRuntimeException
See Also:
AbstractCompareCommand.evaluateNull()

evaluateComparable

public <TYPE> java.lang.Boolean evaluateComparable(java.lang.Comparable<TYPE> left,
                                                   java.lang.Comparable<TYPE> right)
                                     throws TemplateRuntimeException
Overrides:
evaluateComparable in class AbstractCompareCommand
Throws:
TemplateRuntimeException
See Also:
AbstractCompareCommand.evaluateComparable(java.lang.Comparable, java.lang.Comparable)

evaluateNonComparable

public java.lang.Boolean evaluateNonComparable(java.lang.Object left,
                                               java.lang.Object right)
                                        throws TemplateRuntimeException
Overrides:
evaluateNonComparable in class AbstractCompareCommand
Throws:
TemplateRuntimeException
See Also:
AbstractCompareCommand.evaluateNonComparable(java.lang.Object, java.lang.Object)


Copyright © 2008. All Rights Reserved.