public class UnaryEncryptionFunction extends org.nfunk.jep.function.PostfixMathCommand implements MultiStrategyCommand
| Modifier and Type | Class and Description |
|---|---|
static class |
UnaryEncryptionFunction.EncryptionAlgorithm |
| Constructor and Description |
|---|
UnaryEncryptionFunction(UnaryEncryptionFunction.EncryptionAlgorithm encryptionAlgorithm)
Builds this function with a fixed number of three parameters and the given encryption
algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getStrategy() |
void |
run(Stack stack) |
public UnaryEncryptionFunction(UnaryEncryptionFunction.EncryptionAlgorithm encryptionAlgorithm)
encryptionAlgorithm - the UnaryEncryptionFunction.EncryptionAlgorithm to be setpublic void run(Stack stack) throws org.nfunk.jep.ParseException
run in interface org.nfunk.jep.function.PostfixMathCommandIrun in class org.nfunk.jep.function.PostfixMathCommandorg.nfunk.jep.ParseExceptionPostfixMathCommand.run(java.util.Stack)public Object getStrategy()
getStrategy in interface MultiStrategyCommandMultiStrategyCommand.getStrategy()Copyright © 2020. All rights reserved.