Package net.sourceforge.uiq3.calculator
Interface IL_Register
-
- All Superinterfaces:
IClear
- All Known Implementing Classes:
L_Register
,L_Register
public interface IL_Register extends IClear
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Martin Krischik «krischik@users.sourceforge.net»
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
Assign(@NotNull IL_Register Right)
Assign one L-Register to another oneshort @NotNull []
Format()
Format in standard format.short @NotNull []
Format_Print()
Format in printer formatvoid
Inc_Parenthesis()
Increment parenthesis level (+-×÷ ... )int
Parenthesis()
Get parenthesis level (+-×÷ ... )void
Parenthesis(int Parenthesis)
Set parenthesis level (+-×÷ ... )void
Set_NaN()
Set value of the register to NaNNumber
Value()
Temp_Value of the register.void
Value(Number Value)
Set value of the register.
-
-
-
Method Detail
-
Assign
void Assign(@NotNull @NotNull IL_Register Right)
Assign one L-Register to another one- Parameters:
Right
- Value to assign
-
Format
short @NotNull [] Format() throws Error
Format in standard format.- Returns:
- Formatted string
- Throws:
Error
-
Format_Print
short @NotNull [] Format_Print() throws Error
Format in printer format- Returns:
- Formatted string
- Throws:
Error
-
Inc_Parenthesis
void Inc_Parenthesis()
Increment parenthesis level (+-×÷ ... )
-
Parenthesis
int Parenthesis()
Get parenthesis level (+-×÷ ... )- Returns:
- parenthesis level (0 ... 3)
-
Parenthesis
void Parenthesis(int Parenthesis)
Set parenthesis level (+-×÷ ... )- Parameters:
Parenthesis
- level (0 ... 3)
-
Set_NaN
void Set_NaN()
Set value of the register to NaN
-
Value
@NotNull Number Value()
Temp_Value of the register.- Returns:
- current value
-
-