Package maths
Class Param
- java.lang.Object
-
- maths.Param
-
public class Param extends java.lang.ObjectRepresents a parameter with a type, index, value, and optional monomial.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetString()Returns a string representation of the parameter index.voidLoad(java.io.DataInputStream in)Loads the parameter from a DataInputStream.voidSave(java.io.DataOutputStream out)Saves the parameter to a DataOutputStream.voidsetParameterStatic()Sets the parameter type to static.java.lang.StringtoString()Returns a string representation of the parameter.
-
-
-
Field Detail
-
STATIC
public static int STATIC
-
type
public int type
-
xindex
public int xindex
-
value
public double value
-
Solved
public boolean Solved
-
m
public TMono m
-
-
Method Detail
-
setParameterStatic
public void setParameterStatic()
Sets the parameter type to static.
-
toString
public java.lang.String toString()
Returns a string representation of the parameter.- Overrides:
toStringin classjava.lang.Object- Returns:
- the string representation of the parameter
-
getString
public java.lang.String getString()
Returns a string representation of the parameter index.- Returns:
- the string representation of the parameter index
-
Save
public void Save(java.io.DataOutputStream out) throws java.io.IOExceptionSaves the parameter to a DataOutputStream.- Parameters:
out- the DataOutputStream to write to- Throws:
java.io.IOException- if an I/O error occurs
-
Load
public void Load(java.io.DataInputStream in) throws java.io.IOExceptionLoads the parameter from a DataInputStream.- Parameters:
in- the DataInputStream to read from- Throws:
java.io.IOException- if an I/O error occurs
-
-