Uses of Class
io.github.tonywasher.joceanus.oceanus.decimal.OceanusDecimal
Packages that use OceanusDecimal
Package
Description
Parsers.
Package that provides a Decimal implementation in many ways similar to that provided by
BigDecimal, except that the class is mutable, allowing for much faster arithmetic.
Profiles.
Service definition for SpreadSheet PlugIns.
Prometheus sheets is a package that simply maps data-types to and from backup spreadsheets.
Field API classes.
Tethys Table Manager API.
Field core classes.
-
Uses of OceanusDecimal in io.github.tonywasher.joceanus.metis.parser
Methods in io.github.tonywasher.joceanus.metis.parser that return OceanusDecimalModifier and TypeMethodDescriptionMetisCSVParser.parseDecimal(String pInput) Parse a decimal value. -
Uses of OceanusDecimal in io.github.tonywasher.joceanus.oceanus.decimal
Subclasses of OceanusDecimal in io.github.tonywasher.joceanus.oceanus.decimalModifier and TypeClassDescriptionclassRepresents a Money object.classRepresents a Price object.classRepresents a Rate object.classRepresents a Ratio object.classRepresents a Units object.Methods in io.github.tonywasher.joceanus.oceanus.decimal that return OceanusDecimalModifier and TypeMethodDescriptionOceanusDecimal.add(OceanusDecimal pValue) Returns a new Decimal which is the sum of this Decimal and pValue, and whose scale is the maximum of the two.OceanusDecimal.divide(OceanusDecimal pValue) Returns a new Decimal whose value is (this / pValue), and whose scale is the same as this Decimal.OceanusDecimal.divideToIntegralValue(OceanusDecimal pValue) Returns a new Decimal whose value is the integral part of (this / pValue).OceanusDecimal.max(OceanusDecimal pValue) Returns the maximum of this Decimal and pValue.OceanusDecimal.min(OceanusDecimal pValue) Returns the minimum of this Decimal and pValue.OceanusDecimal.multiply(OceanusDecimal pValue) Returns a new Decimal which is the product of this Decimal and pValue, and whose scale is the sum of the two.OceanusDecimalParser.parseDecimalValue(String pValue, int pScale) Parse Decimal value.OceanusDecimal.remainder(OceanusDecimal pValue) Returns a new Decimal whose value is (this / pValue), and whose scale is the same as this Decimal.OceanusDecimal.subtract(OceanusDecimal pValue) Returns a new Decimal which is the difference of this Decimal and pValue, and whose scale is the maximum of the two.Methods in io.github.tonywasher.joceanus.oceanus.decimal with parameters of type OceanusDecimalModifier and TypeMethodDescriptionOceanusDecimal.add(OceanusDecimal pValue) Returns a new Decimal which is the sum of this Decimal and pValue, and whose scale is the maximum of the two.voidOceanusDecimal.addValue(OceanusDecimal pValue) Add a Decimal to the value.voidOceanusMoney.addValue(OceanusDecimal pValue) voidOceanusRate.addValue(OceanusDecimal pValue) voidOceanusRatio.addValue(OceanusDecimal pValue) voidOceanusUnits.addValue(OceanusDecimal pValue) protected voidOceanusDecimal.calculateProduct(OceanusDecimal pFirst, OceanusDecimal pSecond) Multiply two decimals together to produce a third.protected voidOceanusDecimal.calculateQuotient(OceanusDecimal pDividend, OceanusDecimal pDivisor) Divide a decimal by another decimal to produce a third.protected voidOceanusDecimal.calculateSafeQuotient(OceanusDecimal pDividend, OceanusDecimal pDivisor) Divide a decimal by another decimal to produce a third using slow BigDecimal arithmetic.intOceanusDecimal.compareTo(OceanusDecimal pThat) OceanusDecimal.divide(OceanusDecimal pValue) Returns a new Decimal whose value is (this / pValue), and whose scale is the same as this Decimal.OceanusDecimal.divideToIntegralValue(OceanusDecimal pValue) Returns a new Decimal whose value is the integral part of (this / pValue).OceanusDecimalFormatter.formatDecimal(OceanusDecimal pDecimal) Format Decimal value.OceanusDecimal.max(OceanusDecimal pValue) Returns the maximum of this Decimal and pValue.OceanusDecimal.min(OceanusDecimal pValue) Returns the minimum of this Decimal and pValue.OceanusDecimal.multiply(OceanusDecimal pValue) Returns a new Decimal which is the product of this Decimal and pValue, and whose scale is the sum of the two.protected static voidOceanusDecimalParser.parseDecimalValue(String pValue, OceanusDecimal pResult) Parse a string into a decimal.protected static voidOceanusDecimalParser.parseDecimalValue(String pValue, OceanusDecimalLocale pLocale, boolean useMoneyDecimal, OceanusDecimal pResult) Parse a string into a decimal.OceanusDecimal.remainder(OceanusDecimal pValue) Returns a new Decimal whose value is (this / pValue), and whose scale is the same as this Decimal.OceanusDecimal.subtract(OceanusDecimal pValue) Returns a new Decimal which is the difference of this Decimal and pValue, and whose scale is the maximum of the two.voidOceanusDecimal.subtractValue(OceanusDecimal pValue) Subtract a Decimal from the value.voidOceanusMoney.subtractValue(OceanusDecimal pValue) voidOceanusRate.subtractValue(OceanusDecimal pValue) voidOceanusRatio.subtractValue(OceanusDecimal pValue) voidOceanusUnits.subtractValue(OceanusDecimal pValue) protected static StringOceanusDecimalFormatter.toString(OceanusDecimal pValue) Format a decimal value without reference to locale.Constructors in io.github.tonywasher.joceanus.oceanus.decimal with parameters of type OceanusDecimalModifierConstructorDescriptionOceanusDecimal(OceanusDecimal pSource) Constructor.OceanusRate(OceanusDecimal pFirst, OceanusDecimal pSecond) Construct a new Ratio by the ratio between two decimals.OceanusRatio(OceanusDecimal pFirst, OceanusDecimal pSecond) Construct a new Ratio by the ratio between two decimals. -
Uses of OceanusDecimal in io.github.tonywasher.joceanus.oceanus.profile
Methods in io.github.tonywasher.joceanus.oceanus.profile that return OceanusDecimalModifier and TypeMethodDescriptionOceanusProfile.getElapsed()Obtain the elapsed time of the profile.OceanusProfile.getHidden()Obtain the hidden time of the profile. -
Uses of OceanusDecimal in io.github.tonywasher.joceanus.prometheus.service.sheet
Methods in io.github.tonywasher.joceanus.prometheus.service.sheet with parameters of type OceanusDecimalModifier and TypeMethodDescriptionvoidPrometheusSheetCell.setDecimal(OceanusDecimal pValue) Set decimal value of the cell.protected abstract voidPrometheusSheetCell.setDecimalValue(OceanusDecimal pValue) Set non-null decimal value of the cell. -
Uses of OceanusDecimal in io.github.tonywasher.joceanus.prometheus.sheets
Methods in io.github.tonywasher.joceanus.prometheus.sheets with parameters of type OceanusDecimalModifier and TypeMethodDescriptionprotected voidPrometheusSheetDataItem.writeDecimal(int pOffset, OceanusDecimal pValue) Write a decimal to the WorkSheet. -
Uses of OceanusDecimal in io.github.tonywasher.joceanus.tethys.api.field
Methods in io.github.tonywasher.joceanus.tethys.api.field that return OceanusDecimalModifier and TypeMethodDescriptiondefault OceanusDecimalTethysUIDataEditField.TethysUIRawDecimalEditField.getCastValue(Object pValue) -
Uses of OceanusDecimal in io.github.tonywasher.joceanus.tethys.api.table
Method parameters in io.github.tonywasher.joceanus.tethys.api.table with type arguments of type OceanusDecimalModifier and TypeMethodDescriptionTethysUITableColumn.TethysUITableRawDecimalColumn.setValidator(BiFunction<OceanusDecimal, R, String> pValidator) -
Uses of OceanusDecimal in io.github.tonywasher.joceanus.tethys.core.field
Methods in io.github.tonywasher.joceanus.tethys.core.field that return OceanusDecimalModifier and TypeMethodDescriptionTethysUICoreDataEditConverter.TethysUICoreRawDecimalEditConverter.parseEditedValue(String pValue) Methods in io.github.tonywasher.joceanus.tethys.core.field with parameters of type OceanusDecimalModifier and TypeMethodDescriptionTethysUICoreDataEditConverter.TethysUICoreRawDecimalEditConverter.formatDisplayValue(OceanusDecimal pValue)