org.peaseplate.internal.lang.command
Class GreaterEqualCommand

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.GreaterEqualCommand
All Implemented Interfaces:
ICommand

public class GreaterEqualCommand
extends AbstractCompareCommand


Constructor Summary
GreaterEqualCommand(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

GreaterEqualCommand

public GreaterEqualCommand(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.