|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PresentationException | |
com.rubecula.jquantity | JQuantity
Contents:
Copyright Notice
Overview
JQuantity Philosophy
Programming Conventions
Package Structure |
com.rubecula.math | This is the high-level description of the math package. |
com.rubecula.units | JQuantity/units. |
com.rubecula.util | This is the high-level description of the util package. |
Uses of PresentationException in com.rubecula.jquantity |
Methods in com.rubecula.jquantity that throw PresentationException | |
static JQuantityPresentation |
JQuantityPresentation.valueOf(java.lang.String string)
Factory method to create a JQuantityPresentation from a String. |
Presentation |
JQuantityPresentation.setValue(java.lang.String source)
Fix the value of this Presentation according to the given string s. |
AttrMap |
JQuantityPresentation.getAttributes()
Return the attributes with which this presentation was created, or at least the best guess. |
Presentable |
WholeNumber.makePresentableInstance(Presentation presentation)
Instance method to convert a Presentation into a Presentable. |
Presentation |
WholeNumber.present(AttrMap attributes)
Convert this Presentable object into a Presentation, according to the set of attributes provided. |
private Presentation |
WholeNumber.present(int radix,
boolean exponential)
Method to convert this WholeNumber into an equivalent Presentation. |
private Presentation |
WholeNumber.present(int radix)
Method to convert this WholeNumber into an equivalent Presentation using non-exponential form. |
private Presentation |
WholeNumber.present(boolean exponential)
Method to convert this WholeNumber into an equivalent Presentation, using radix 10 and exponential form. |
static ValuePresentation |
ValuePresentation.valueOf(java.lang.String value)
Factory method to create a new instance of ValuePresentation from a string value. |
AttrMap |
ValuePresentation.getAttributes()
Return the attributes with which this presentation was created, or at least the best guess. |
java.lang.String |
ValuePresentation.toString(int width)
Render this Presentation as a String with the given width limitation. |
static Rational |
Value.Parse(SymbolicPresentation presentation,
java.lang.String identifier)
Class method to translate the given SymbolicPresentation representation of a Value into a Value. |
static BaseNumber |
Value.valueOf(java.lang.String string,
java.lang.String id)
Translates the String representation of a Value into an explicitly identified Value. |
static BaseNumber |
Value.valueOf(java.lang.String string)
Translates the String representation of a Value into Value, identified by the string itself. |
Presentable |
Value.makePresentableInstance(Presentation presentation)
Instance method to convert a Presentation into a Presentable. |
static Presentable |
Value.Parse(Presentation presentation)
Method to create a Value from a Presentation and return it as a Presentable. |
Presentation |
Value.present(AttrMap attributes)
Convert this Presentable object into a Presentation, according to the set of attributes provided. |
AttrMap |
SymbolicPresentation.getAttributes()
Return the attributes with which this presentation was created, or at least the best guess. |
private static Presentable |
SymbolicPresentation.parseStringComponent(java.lang.String component)
Method to parse this text presentation and create a new Presentable object. |
void |
SymbolicPresentation.add(java.lang.Object o)
Add a Presentation or String to this SymbolicPresentation |
void |
SymbolicPresentation.replace(int index,
java.lang.Object o)
|
void |
SymbolicPresentation.refineStructure(java.lang.Object tokenStart,
java.lang.Object tokenEnd)
This method is used to discover open/close delimiter pairs and create an appropriate structure. |
void |
SymbolicPresentation.refineStructure(java.lang.Object token)
This method is used to discover serial-type delimiters and create an appropriate structure. |
private static Presentable |
SymbolicPresentation.GetPresentable(java.lang.Object component)
|
static Rational |
Rational.Parse(NumberPresentation presentation,
java.lang.String identifier)
Translates the NumberPresentation representation into a new Rational. |
static BaseNumber |
Rational.valueOf(java.lang.String string,
java.lang.String id)
Convenience factory method to create a new Rational instance from a value string and an explicit identifier. |
static BaseNumber |
Rational.valueOf(java.lang.String string)
Convenience factory method to create a new Rational instance from a value string and an implicit identifier (the value string itself). |
Presentable |
Rational.makePresentableInstance(Presentation presentation)
Instance method to convert a Presentation into a Presentable. |
static Presentable |
Rational.Parse(Presentation presentation)
Create a Rational from a Presentation and return it as a Presentable. |
private Presentation |
Rational.presentRatio()
Method to convert this Rational into the appropriate NumberPresentation as a ratio rather than as a decimal. |
private Presentation |
Rational.present(AttrMap attributes,
double tolerance,
boolean notRatio)
Method to convert this Rational into an equivalent Presentation. |
private Presentation |
Rational.present(AttrMap attributes,
double tolerance)
Method to convert this Rational into an equivalent Presentation. |
private Presentation |
Rational.present(double tolerance)
Method to convert this Rational into an equivalent Presentation. |
Presentation |
Rational.present(AttrMap attributes)
Convert this Presentable object into a Presentation, according to the set of attributes provided. |
static Rational |
Rational.valueOf(Presentation presentation)
Convert Presentation presentation into a Rational. |
static QuantityPresentation |
QuantityPresentation.valueOf(java.lang.String quantity)
Factory method to create a new instance of QuantityPresentation from a string quantity. |
AttrMap |
QuantityPresentation.getAttributes()
Return the attributes with which this presentation was created, or at least the best guess. |
java.lang.String |
QuantityPresentation.toString(int width)
Render this Presentation as a String with the given width limitation. |
Presentable |
QuantityPresentation.parse()
Convert this Presentation into a Presentable object. |
Presentation |
PresentationFactory.createPresentation(java.lang.String string)
Method to create a new Presentation from this Factory. |
Presentable |
Operator.makePresentableInstance(Presentation presentation)
Instance method to convert a Presentation into a Presentable. |
void |
NumberPresentation.makeFuzzy(int model,
double boundAbs)
Mutating instance method to set the fuzzy string according to given model and bounds. |
protected void |
NumberPresentation.setValue(java.lang.String source)
Instance method to set the value of a NumberPresentation from a String. |
protected void |
NumberPresentation.setFuzzy(int halfPlaces,
java.lang.String fuzzy)
Method to set the fuzzy part of this according to the number of halfplaces of decimals specified and the string given. |
protected void |
NumberPresentation.setFuzzy(int halfPlaces)
Method to set the fuzzy part of this according to the number of halfplaces of decimals specified and the string given. |
private void |
NumberPresentation.moveDecimalPoint(int rightWardPlaces)
Method to adjust the value of the number and, correspondingly, the value of the exponent. |
protected int |
NumberPresentation.normalize(int before)
MUTATING Method to adjust the value of the number and, correspondingly, the value of the exponent. |
int |
NumberPresentation.normalize()
MUTATING Method to adjust the value of the number and, correspondingly, the value of the exponent. |
AttrMap |
NumberPresentation.getAttributes()
Return the attributes with which this presentation was created, or at least the best guess. |
java.lang.String |
NumberPresentation.toString(int width)
Render this Presentation as a String within the width specified. |
(package private) void |
NumberPresentation.setFirst(java.lang.String first)
Method to set the first string. |
(package private) void |
NumberPresentation.setSecond(java.lang.String second)
|
Presentation |
Manifest.present(AttrMap attributes)
Convert this Presentable object into a Presentation, according to the set of attributes provided. |
private JQuantity |
Loader.getQuantity(java.lang.String value)
|
static BaseNumber |
JQuantity.valueOf(java.lang.String presentation)
Constructs a dimensionless JQuantity from a String representing a number. |
Presentation |
JQuantity.present(AttrMap attributes)
|
Presentable |
JQuantity.makePresentableInstance(Presentation presentation)
Instance method to convert a Presentation into a Presentable. |
AttrMap |
IntegerPresentation.getAttributes()
Return the attributes with which this presentation was created, or at least the best guess. |
Presentable |
IntegerPresentation.parse()
Convert this Presentation into a Presentable object. |
Presentable |
FuzzInt.parse(Presentation presentation)
Instance method to convert a Presentation into a Presentable. |
Presentation |
FuzzInt.present(AttrMap attributes)
Convert this Presentable object into a Presentation, according to the set of attributes provided. |
static Expression |
Expression.Parse(SymbolicPresentation presentation,
java.lang.String identifier)
Translates the SymbolicPresentation representation of an expression into an instance of Expression. |
private static Presentable |
Expression.LookupConstant(java.lang.String s)
|
Presentation |
Expression.present(AttrMap attributes)
Convert this Presentable object into a Presentation, according to the set of attributes provided. |
Presentation |
Expression.present()
Convert this Presentable object into a Presentation with default attributes. |
Presentable |
Expression.makePresentableInstance(Presentation presentation)
Instance method to convert a Presentation into a Presentable. |
static Presentable |
Expression.Parse(Presentation presentation)
Create a Rational from a Presentation and return it as a Presentable. |
Presentation |
Compound.present(AttrMap attributes)
|
Presentable |
Compound.makePresentableInstance(Presentation presentation)
|
static Presentable |
Complex.Parse(Presentation presentation,
java.lang.String identifier)
Create an explicitly identified Complex from a Presentation and return it as a Presentable. |
static Presentable |
Complex.Parse(Presentation presentation)
Create a Complex from a Presentation and return it as a Presentable. |
static Complex |
Complex.Parse(SymbolicPresentation presentation,
java.lang.String identifier)
Translates the SymbolicPresentation representation of a complex number into a Complex. |
static Complex |
Complex.valueOf(java.lang.String string)
Translates the String representation of a Complex into a Complex. |
Presentable |
Complex.makePresentableInstance(Presentation presentation)
Instance method to convert a Presentation into a Presentable. |
Presentation |
Complex.present(AttrMap attributes)
Convert this Presentable object into a Presentation, according to the set of attributes provided. |
static BaseNumber |
BaseNumber.valueOf(java.lang.String string,
java.lang.String id)
Factory method to create a BaseNumber from a String string, optionally identified by id. |
static BaseNumber |
BaseNumber.valueOf(java.lang.String string)
Factory method to create a BaseNumber from a String string, without an explicit identifier (the string itself is used as the id). |
Presentation |
BaseNumber.impartFuzziness(NumberPresentation presentation)
Method to impart a NumberPresentation presentation with appropriate fuzzy information and ensure that the resulting string value is properly rounded. |
static BaseNumber |
Approximation.valueOf(java.lang.String valueString)
Method to create an approximation from a string which represents a double, optionally followed by "*" to indicate fuzziness in the last digit. |
static Approximation |
Approximation.Parse(NumberPresentation presentation)
Class method to translate the NumberPresentation representation into an Approximation. |
Presentation |
Approximation.present(AttrMap attributes)
|
Presentable |
Approximation.makePresentableInstance(Presentation presentation)
Instance method to convert a Presentation into a Presentable. |
Constructors in com.rubecula.jquantity that throw PresentationException | |
JQuantityPresentation(java.lang.String identifier,
java.lang.String real,
java.lang.String imag,
java.lang.String units)
Secondary constructor to create an identified, possibly complex, JQuantityPresentation, optionally with defined Units. |
|
JQuantityPresentation(java.lang.String identifier,
java.lang.String real,
java.lang.String units)
Secondary constructor to create an identified, JQuantityPresentation, optionally with defined Units. |
|
JQuantityPresentation(java.lang.String identifier,
java.lang.String real)
Secondary constructor to create an identified, JQuantityPresentation, optionally with defined Units. |
|
WholeNumber(java.lang.String string)
Constructs a WholeNumber from a String. |
|
ValuePresentation(NumberPresentation number,
java.lang.String type)
Primary constructor to create a value presentation from a NumberPresentation and a type string. |
|
Rational(java.lang.String string)
Secondary constructor to create a Rational from a String. |
|
QuantityPresentation(Presentation number,
java.lang.String units)
|
|
NumberPresentation(IntegerPresentation first,
java.lang.String second,
java.lang.String exponent,
java.lang.String fuzz,
java.lang.String radix)
Primary Constructor to create a NumberPresentation from a set of explicit values. |
|
NumberPresentation(java.lang.String first,
java.lang.String second,
java.lang.String fuzz)
Primary Constructor to create a NumberPresentation from a set of explicit values. |
|
NumberPresentation(java.lang.String first,
java.lang.String second)
Secondary Constructor to create a NumberPresentation for an exact non-integer value from a string. |
|
NumberPresentation(java.lang.String string)
Secondary Constructor to create a NumberPresentation for any number from a string. |
|
NumberPresentation(double value,
int halfPlaces,
boolean normalize)
Secondary Constructor to create a NumberPresentation for a double value. |
|
NumberPresentation(double value,
boolean normalize)
Secondary Constructor to create a NumberPresentation for a double value which is considered to be exact. |
|
NumberPresentation(NumberPresentation source)
Constructor to copy a NumberPresentation. |
|
JQuantity(java.lang.String presentation,
Units units)
Constructs a JQuantity from a String representing a number and a Units. |
|
JQuantity(java.lang.String presentation)
Constructs a dimensionless JQuantity from a String representing a number. |
|
IntegerPresentation(java.lang.String integer)
|
|
FuzzInt(java.lang.String string)
Secondary constructor (translates String into a NumberPresentation and then calls the primary constructor FuzzInt(NumberPresentation)). |
Uses of PresentationException in com.rubecula.math |
Methods in com.rubecula.math that throw PresentationException | |
Presentation |
Macro.present(AttrMap attributes)
|
Presentable |
Macro.makePresentableInstance(Presentation presentation)
|
Uses of PresentationException in com.rubecula.units |
Methods in com.rubecula.units that throw PresentationException | |
Presentation |
Units.present(AttrMap attributes)
Convert this Presentable object into a Presentation, according to the set of attributes provided. |
Presentable |
Units.makePresentableInstance(Presentation presentation)
Instance method to convert a Presentation into a Presentable. |
Presentation |
SiUnit.present(AttrMap attributes)
Convert this Presentable object into a Presentation, according to the set of attributes provided. |
Presentable |
SiUnit.makePresentableInstance(Presentation presentation)
Instance method to convert a Presentation into a Presentable. |
Presentation |
FlatUnit.present(AttrMap attributes)
Convert this Presentable object into a Presentation, according to the set of attributes provided. |
Presentable |
FlatUnit.makePresentableInstance(Presentation presentation)
Instance method to convert a Presentation into a Presentable. |
Uses of PresentationException in com.rubecula.util |
Methods in com.rubecula.util that throw PresentationException | |
Presentation |
Symbol.present(AttrMap attributes)
|
Presentable |
Symbol.makePresentableInstance(Presentation presentation)
|
AttrMap |
StringPresentation.getAttributes()
Return the attributes with which this presentation was created, or at least the best guess. |
Presentation |
PresentationFactoryInterface.createPresentation(java.lang.String string)
Method to create a new Presentation from this Factory. |
Presentable |
Presentation.parse()
Convert this Presentation into a Presentable object. |
abstract AttrMap |
Presentation.getAttributes()
Return the attributes with which this presentation was created, or at least the best guess. |
abstract java.lang.String |
Presentation.toString(int width)
Render this Presentation as a String within the width specified. |
Presentation |
Presentable.present(AttrMap attributes)
Convert this Presentable object into a Presentation, according to the set of attributes provided. |
Presentable |
Presentable.makePresentableInstance(Presentation presentation)
Instance method to convert a Presentation into a Presentable. |
Presentation |
Item.present()
Convert this Presentable object into a Presentation with default attributes. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |