Package net.sourceforge.uiq3.fx602p
Class Op_RND
- java.lang.Object
-
- net.sourceforge.uiq3.fx602p.Owned_Operation
-
- net.sourceforge.uiq3.fx602p.Op_RND
-
- All Implemented Interfaces:
net.sourceforge.uiq3.calculator.IClear,net.sourceforge.uiq3.calculator.IOperation,net.sourceforge.uiq3.calculator.IOwned_Operation,net.sourceforge.uiq3.calculator.IProgrammable_Operation
final class Op_RND extends Owned_Operation implements net.sourceforge.uiq3.calculator.IProgrammable_Operation
Round of fix point display- Author:
- "Martin Krischik" «krischik@users.sourceforge.net»
-
-
Field Summary
Fields Modifier and Type Field Description private net.sourceforge.uiq3.math.NumberFull_ValueFull value of the last value processed.private static LoggerLoggerClass logger instance.private net.sourceforge.uiq3.math.NumberRound_ValueRounded value of the last value processed.private static StringTAGClass logger tag.-
Fields inherited from class net.sourceforge.uiq3.fx602p.Owned_Operation
Owner
-
-
Constructor Summary
Constructors Constructor Description Op_RND(@NotNull Calculator Owner)Create operation and attach to owning calculator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidClear(boolean AC)Reset state - for state full operations.short @NotNull []Display(short Opcode)Display Operatin in Prog mode.voidExecute(short Opcode)-
Methods inherited from class net.sourceforge.uiq3.fx602p.Owned_Operation
µReset, toString
-
-
-
-
Field Detail
-
Logger
private static final Logger Logger
Class logger instance.
-
TAG
private static final String TAG
Class logger tag.
-
Full_Value
@NotNull private net.sourceforge.uiq3.math.Number Full_Value
Full value of the last value processed.
-
Round_Value
@NotNull private net.sourceforge.uiq3.math.Number Round_Value
Rounded value of the last value processed.
-
-
Constructor Detail
-
Op_RND
Op_RND(@NotNull @NotNull Calculator Owner)Create operation and attach to owning calculator.- Parameters:
Owner- Calculator which will call this Opcode
-
-
Method Detail
-
Clear
public void Clear(boolean AC)
Reset state - for state full operations.- Specified by:
Clearin interfacenet.sourceforge.uiq3.calculator.IClear- Parameters:
AC- All Clear reset- See Also:
IClear.Clear(boolean)
-
Display
public short @NotNull [] Display(short Opcode) throws Op_ErrorDisplay Operatin in Prog mode.- Specified by:
Displayin interfacenet.sourceforge.uiq3.calculator.IProgrammable_Operation- Throws:
Op_Error- See Also:
IProgrammable_Operation.Display(short)
-
Execute
public void Execute(short Opcode) throws net.sourceforge.uiq3.calculator.Error- Specified by:
Executein interfacenet.sourceforge.uiq3.calculator.IOperation- Throws:
net.sourceforge.uiq3.calculator.Error- See Also:
IOperation.Execute(short)
-
-