Package com.strategyquant.tradinglib
Class BlockSuperTypes
java.lang.Object
com.strategyquant.tradinglib.BlockSuperTypes
The Class BlockSuperTypes.
-
Field Summary
Modifier and TypeFieldDescriptionstatic int
The Constant Action.static int
The Constant Comparison.static int
The Constant Condition.static int
The Constant ExitMethod.static int
The Constant Formula.static int
The Constant Property.static int
The Constant Value. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isBooleanBlock(int superType)
Checks if is boolean block.static String
translate(int value)
Translate.static int
Translate.
-
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
-