Package org.mariuszgromada.math.mxparser
Class CalcStepRecord
- java.lang.Object
-
- org.mariuszgromada.math.mxparser.CalcStepRecord
-
- All Implemented Interfaces:
java.io.Serializable
public class CalcStepRecord extends java.lang.Object implements java.io.SerializableCalculation is a multistep process and this class provides a container to store a single calculation step.- Version:
- 5.1.0
- See Also:
CalcStepRecord,Expression,Argument,Function, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCalcStepRecord.StepTypeCalculation step type.
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringcontentCalculation step content - so what is really happening in this stepjava.lang.StringdescriptionCalculation step description - can be ana argument name, function name and or an expression stringbooleanfirstInGroupTrue if this is a first step in a given group.booleanlastInGroupTrue if this is a last step in a given group.intnumberGroupIf an expression makes a reference to a dependent argument or a user function then the calculation process will be done based on the calculation tree, where each group will be a marker of a particular (different) leaf of this tree.intnumberGroupWithinMarker of a step in a process of calculation of a given expression pointed by a particular leaf in a calculation tree.private static intserialClassIDprivate static longserialVersionUIDCalcStepRecord.StepTypetypeCalculation step type
-
Constructor Summary
Constructors Constructor Description CalcStepRecord()
-
-
-
Field Detail
-
serialClassID
private static final int serialClassID
- See Also:
- Constant Field Values
-
serialVersionUID
private static final long serialVersionUID
-
numberGroup
public int numberGroup
If an expression makes a reference to a dependent argument or a user function then the calculation process will be done based on the calculation tree, where each group will be a marker of a particular (different) leaf of this tree.
-
numberGroupWithin
public int numberGroupWithin
Marker of a step in a process of calculation of a given expression pointed by a particular leaf in a calculation tree.
-
type
public CalcStepRecord.StepType type
Calculation step type- See Also:
CalcStepRecord.StepType
-
description
public java.lang.String description
Calculation step description - can be ana argument name, function name and or an expression string
-
content
public java.lang.String content
Calculation step content - so what is really happening in this step
-
firstInGroup
public boolean firstInGroup
True if this is a first step in a given group.
-
lastInGroup
public boolean lastInGroup
True if this is a last step in a given group.
-
-