Package eu.bandm.tools.tpath.absy
Class TPath.Number
java.lang.Object
eu.bandm.tools.tpath.absy.TPath.Item
eu.bandm.tools.tpath.absy.TPath.Expr
eu.bandm.tools.tpath.absy.TPath.ValueExpr
eu.bandm.tools.tpath.absy.TPath.Number
- All Implemented Interfaces:
Formattable
,Cloneable
- Enclosing class:
- TPath
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":92.1-94.16, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":92.1-94.16, see this pretty print.)
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Function<TPath.Number,
Double> Deprecated.Use new '::' method reference instead.protected double
Generated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tools.tpath.absy.TPath.Expr
forced, forcing, get_forced, get_forcing
Fields inherited from class eu.bandm.tools.tpath.absy.TPath.Item
get_location, location
-
Constructor Summary
ConstructorDescriptionNumber
(double value) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". -
Method Summary
Modifier and TypeMethodDescriptiondoclone()
Clones this object.format()
Delivers a format object for pretty-printing, as specified in the umod source.double
Generated by umod; model author's documentation MISSING.static String
Delivers the format specification from the umod source.Copies values of all common fields from the argument.boolean
set_value
(double val) Generated by umod; model author's documentation MISSING.Methods inherited from class eu.bandm.tools.tpath.absy.TPath.Expr
get_forced, get_forcing, set_forced, set_forcing
Methods inherited from class eu.bandm.tools.tpath.absy.TPath.Item
get_location, set_location
-
Field Details
-
value
protected double valueGenerated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":93.9-49, see this pretty print.)
The type of this field is double(never null)
It is set by every possible constructor.- See Also:
-
get_value
Deprecated.Use new '::' method reference instead.
-
-
Constructor Details
-
Number
public Number(double value) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".- Parameters:
value
- is copied to fieldvalue
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Overrides:
doclone
in classTPath.ValueExpr
- Returns:
- a fresh copy.
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
value
This can be used e.g. by format code interpreters which process objects of different origin. -
format
Delivers a format object for pretty-printing, as specified in the umod source.- Specified by:
format
in interfaceFormattable
- Overrides:
format
in classTPath.ValueExpr
- Returns:
- a format that represents this object in a pretty-printable way
-
initFrom
Copies values of all common fields from the argument. All fields of this class definition are copied, iff the argument is of this class. Then the superclass method is invoked with the same argument.- Overrides:
initFrom
in classTPath.ValueExpr
-
get_value
public double get_value()Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":93.9-49, see this pretty print.)
Generated getter method. @see #value- Returns:
- The current field value of type double(never null)
-
set_value
public boolean set_value(double val) Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":93.9-49, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of type double(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-