org.peaseplate.internal.lang.command
Class BitwiseAndCommand
java.lang.Object
org.peaseplate.internal.lang.command.AbstractCommand
org.peaseplate.internal.lang.command.AbstractDoubleParameterCommand
org.peaseplate.internal.lang.command.AbstractNumericCommand
org.peaseplate.internal.lang.command.BitwiseAndCommand
- All Implemented Interfaces:
- ICommand
public class BitwiseAndCommand
- extends AbstractNumericCommand
Method Summary |
java.lang.Byte |
calculate(java.lang.Byte left,
java.lang.Byte right)
|
java.lang.Character |
calculate(java.lang.Character left,
java.lang.Character right)
|
java.lang.Integer |
calculate(java.lang.Integer left,
java.lang.Integer right)
|
java.lang.Long |
calculate(java.lang.Long left,
java.lang.Long right)
|
java.lang.Short |
calculate(java.lang.Short left,
java.lang.Short right)
|
java.lang.String |
getSign()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BitwiseAndCommand
public BitwiseAndCommand(TemplateLocator locator,
int line,
int column,
ICommand leftCommand,
ICommand rightCommand)
getSign
public java.lang.String getSign()
- Specified by:
getSign
in class AbstractNumericCommand
- See Also:
AbstractNumericCommand.getSign()
calculate
public java.lang.Byte calculate(java.lang.Byte left,
java.lang.Byte right)
throws TemplateRuntimeException
- Overrides:
calculate
in class AbstractNumericCommand
- Throws:
TemplateRuntimeException
- See Also:
AbstractNumericCommand.calculate(java.lang.Byte, java.lang.Byte)
calculate
public java.lang.Short calculate(java.lang.Short left,
java.lang.Short right)
throws TemplateRuntimeException
- Overrides:
calculate
in class AbstractNumericCommand
- Throws:
TemplateRuntimeException
- See Also:
AbstractNumericCommand.calculate(java.lang.Short, java.lang.Short)
calculate
public java.lang.Character calculate(java.lang.Character left,
java.lang.Character right)
throws TemplateRuntimeException
- Overrides:
calculate
in class AbstractNumericCommand
- Throws:
TemplateRuntimeException
- See Also:
AbstractNumericCommand.calculate(java.lang.Character, java.lang.Character)
calculate
public java.lang.Integer calculate(java.lang.Integer left,
java.lang.Integer right)
throws TemplateRuntimeException
- Overrides:
calculate
in class AbstractNumericCommand
- Throws:
TemplateRuntimeException
- See Also:
AbstractNumericCommand.calculate(java.lang.Integer, java.lang.Integer)
calculate
public java.lang.Long calculate(java.lang.Long left,
java.lang.Long right)
throws TemplateRuntimeException
- Overrides:
calculate
in class AbstractNumericCommand
- Throws:
TemplateRuntimeException
- See Also:
AbstractNumericCommand.calculate(java.lang.Long, java.lang.Long)
Copyright © 2008. All Rights Reserved.