Package com.strategyquant.tradinglib
Class BlockSuperTypes
java.lang.Object
com.strategyquant.tradinglib.BlockSuperTypes
The Class BlockSuperTypes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intThe Constant Action.static intThe Constant Comparison.static intThe Constant Condition.static intThe Constant ExitMethod.static intThe Constant Formula.static intThe Constant Property.static intThe Constant Value. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisBooleanBlock(int superType)Checks if is boolean block.static Stringtranslate(int value)Translate.static intTranslate.
-
Field Details
-
Property
public static final int PropertyThe Constant Property.- See Also:
- Constant Field Values
-
Comparison
public static final int ComparisonThe Constant Comparison.- See Also:
- Constant Field Values
-
Condition
public static final int ConditionThe Constant Condition.- See Also:
- Constant Field Values
-
Value
public static final int ValueThe Constant Value.- See Also:
- Constant Field Values
-
Action
public static final int ActionThe Constant Action.- See Also:
- Constant Field Values
-
Formula
public static final int FormulaThe Constant Formula.- See Also:
- Constant Field Values
-
ExitMethod
public static final int ExitMethodThe Constant ExitMethod.- See Also:
- Constant Field Values
-
-
Constructor Details
-
BlockSuperTypes
public BlockSuperTypes()
-
-
Method Details
-
translate
Translate.- Parameters:
value- the value- Returns:
- the int
-
translate
Translate.- Parameters:
value- the value- Returns:
- the string
-
isBooleanBlock
public static boolean isBooleanBlock(int superType)Checks if is boolean block.- Parameters:
superType- the super type- Returns:
- true, if is boolean block
-