All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

abs(). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Returns a new value object which has the absolute value of this value.
abs(). Method in class com.roguewave.money.currency.v1_0.DoubleValue
Returns a new value object which has the absolute value of this value.
abs(). Method in class com.roguewave.money.currency.v1_0.Money
Returns a new money which has the absolute value of this money's amount.
abs(). Method in interface com.roguewave.money.currency.v1_0.Value
Returns the absolute value of this value in a new value object.
abs(Money). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns a new money which has the absolute value of the money's amount.
add(ExchangeRate). Method in class com.roguewave.money.currency.v1_0.ExchangeRateTable
Adds the given exchange rate to this table.
add(Money, Money). Static method in class com.roguewave.money.currency.v1_0.Money
Returns a new money which is the sum of the two money objects.
add(Money, Money). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns a new money which is the sum of the two money objects.
addCurrency(String). Method in class com.roguewave.money.currency.v1_0.EuroGroup
Adds the currency to the list of Euro currencies.
ADDITION. Static variable in class com.roguewave.money.currency.v1_0.MoneyException
Identifies an error that happens during an addition.
appendExchangeGroup(ExchangeGroup). Method in class com.roguewave.money.currency.v1_0.ExchangeFactory
Appends the exchange group to the collection of exchange groups.

B

BigDecimalValue(BigDecimal). Constructor for class com.roguewave.money.currency.v1_0.BigDecimalValue
Creates a new BigDecimalValue encapsulating the BigDecimal with a default precision.
BigDecimalValue(BigDecimal, int). Constructor for class com.roguewave.money.currency.v1_0.BigDecimalValue
Creates a new BigDecimalValue encapsulating the BigDecimal with the desired precision.
BigDecimalValue(double). Constructor for class com.roguewave.money.currency.v1_0.BigDecimalValue
Creates a new BigDecimalValue from a floating point value.
BigDecimalValue(double, int). Constructor for class com.roguewave.money.currency.v1_0.BigDecimalValue
Creates a new BigDecimalValue from the floating point value with the specified precision.
BigDecimalValue(DoubleValue). Constructor for class com.roguewave.money.currency.v1_0.BigDecimalValue
Creates a new BigDecimalValue from the floating point value underlying the DoubleValue.
BigDecimalValue(DoubleValue, int). Constructor for class com.roguewave.money.currency.v1_0.BigDecimalValue
Creates a new BigDecimalValue from the floating point value underlying the DoubleValue with the desired precision.
BilateralExchange(ExchangeRate, String). Constructor for class com.roguewave.money.currency.v1_0.BilateralExchange
Constructs a bilateral exchange object with source currency, target currency and conversion factor provided by the ExchangeRate object.
BilateralExchange(String, String, double, String). Constructor for class com.roguewave.money.currency.v1_0.BilateralExchange
Constructs a bilateral exchange object with source currency mnemonic, target currency mnemonic and source to target conversion factor.

C

clear(). Method in class com.roguewave.money.currency.v1_0.CurrencyBook
Removes all currencies from the currency book.
clear(). Method in class com.roguewave.money.currency.v1_0.ExchangeRateTable
Clears all of the exchange rates from this table.
clearCurrencies(). Method in class com.roguewave.money.currency.v1_0.EuroGroup
Removes all currencies from the collection.
clearExchangeGroups(). Method in class com.roguewave.money.currency.v1_0.ExchangeFactory
Removes all exchange groups.
compare(Money). Method in class com.roguewave.money.currency.v1_0.Money
Compares this money to the specified money.
compare(Value). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Compares this value with the specified value.
compare(Value). Method in class com.roguewave.money.currency.v1_0.DoubleValue
Compares this value with the specified value.
compare(Value). Method in interface com.roguewave.money.currency.v1_0.Value
Compares this value with the specified value.
COMPARISON. Static variable in class com.roguewave.money.currency.v1_0.MoneyException
Identifies an error that happens during a comparison.
contains(Currency). Method in class com.roguewave.money.currency.v1_0.CurrencyBook
Returns true if the specified currency is in the currency book.
contains(ExchangeRate). Method in class com.roguewave.money.currency.v1_0.ExchangeRateTable
Returns true if an exchange rate already exists with this rate's source, target pair.
contains(String). Method in class com.roguewave.money.currency.v1_0.CurrencyBook
Returns true if the currency specified by the mnemonic is in the currency book.
contains(String, String). Method in class com.roguewave.money.currency.v1_0.ExchangeRateTable
Returns true if an exchange rate already exists with this source and target.
containsCurrency(String). Method in class com.roguewave.money.currency.v1_0.EuroGroup
Returns true if the given currency is in the Euro exchange group.
containsExchangeGroup(String). Method in class com.roguewave.money.currency.v1_0.ExchangeFactory
Searchs the collection for the named exchange group.
CONVERSION_BASE. Static variable in class com.roguewave.money.currency.v1_0.MoneyCalculator
Base Currency Conversion.
CONVERSION_SOURCE. Static variable in class com.roguewave.money.currency.v1_0.MoneyCalculator
Source Currency Conversion.
CONVERSION_TARGET. Static variable in class com.roguewave.money.currency.v1_0.MoneyCalculator
Target Currency Conversion.
currencies. Variable in class com.roguewave.money.currency.v1_0.CurrencyBook
Currency(). Constructor for class com.roguewave.money.currency.v1_0.Currency
Creates a new currency with all of the default variables.
Currency(String, int, String, String, double). Constructor for class com.roguewave.money.currency.v1_0.Currency
Creates a new currency with the given information.
Currency(String, int, String, String, double, Date, Date). Constructor for class com.roguewave.money.currency.v1_0.Currency
Creates a new currency with the given information.
CurrencyBook(). Constructor for class com.roguewave.money.currency.v1_0.CurrencyBook
Creates an empty currency book.
CurrencyExample(). Constructor for class com.roguewave.examples.money.currency.v1_0.CurrencyExample

D

DEFAULT_ACCURACY. Static variable in class com.roguewave.money.currency.v1_0.Money
The default accuracy, or digits to the right of the decimal point, to use for the rounding methods is '2'
DEFAULT_BASE. Static variable in class com.roguewave.money.currency.v1_0.MoneyCalculator
The default base currency is the US dollar, "USD".
DEFAULT_BEHAVIOR. Static variable in class com.roguewave.money.currency.v1_0.DefaultErrorHandler
Default behavior is to throw an exception.
DEFAULT_CODE. Static variable in class com.roguewave.money.currency.v1_0.Currency
DEFAULT_CONVERSION. Static variable in class com.roguewave.money.currency.v1_0.MoneyCalculator
The default conversion policy is no conversion.
DEFAULT_DIGIT. Static variable in class com.roguewave.money.currency.v1_0.Money
The default digit to use for comparison is '5'
DEFAULT_EXPIRATION. Static variable in class com.roguewave.money.currency.v1_0.Currency
DEFAULT_FRACTION_NAME. Static variable in class com.roguewave.money.currency.v1_0.Currency
DEFAULT_INTRODUCTION. Static variable in class com.roguewave.money.currency.v1_0.Currency
DEFAULT_MESSAGE. Static variable in class com.roguewave.money.currency.v1_0.InvalidExchangeException
DEFAULT_MESSAGE. Static variable in class com.roguewave.money.currency.v1_0.MismatchedCurrenciesException
DEFAULT_MESSAGE. Static variable in class com.roguewave.money.currency.v1_0.PrecisionExceededException
DEFAULT_MNEMONIC. Static variable in class com.roguewave.money.currency.v1_0.Currency
DEFAULT_NAME. Static variable in class com.roguewave.money.currency.v1_0.Currency
DEFAULT_PRECISION. Static variable in class com.roguewave.money.currency.v1_0.BigDecimalValue
The default precision is 16 significant digits.
DEFAULT_RATIO. Static variable in class com.roguewave.money.currency.v1_0.Currency
DEFAULT_ROUND. Static variable in class com.roguewave.money.currency.v1_0.Money
The default rounding method is the plain method.
DEFAULT_ROUND_METHOD. Static variable in class com.roguewave.money.currency.v1_0.MoneyCalculator
The default rounding method is no rounding.
DEFAULT_STREAM. Static variable in class com.roguewave.money.currency.v1_0.DefaultErrorHandler
The default error stream is System.err.
divide(Money, BigDecimal). Static method in class com.roguewave.money.currency.v1_0.Money
Returns a new money which is the quotient of the money and the decimal divisor.
divide(Money, BigDecimal). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns a new money which is the quotient of the money and the decimal divisor.
divide(Money, double). Static method in class com.roguewave.money.currency.v1_0.Money
Returns a new money which is the quotient of the money and the floating point divisor.
divide(Money, double). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns a new money which is the quotient of the money and the floating point divisor.
DIVISION. Static variable in class com.roguewave.money.currency.v1_0.MoneyException
Identifies an error that happens during a division.
DivisionExchange(ExchangeRate). Constructor for class com.roguewave.money.currency.v1_0.DivisionExchange
Creates a new exchange object with the source, target and factor taken from the exchange rate.
DivisionExchange(String, String, double). Constructor for class com.roguewave.money.currency.v1_0.DivisionExchange
Creates a new exchange object with the desired source, target and conversion factor.
DivisionGroup(). Constructor for class com.roguewave.money.currency.v1_0.DivisionGroup
Creates an empty group.
doConversion(Money, Exchange). Static method in class com.roguewave.examples.money.currency.v1_0.GroupExample
Method to perform the conversion from the given source currency to the desired target currency using the given exchange object.
DoubleValue(double). Constructor for class com.roguewave.money.currency.v1_0.DoubleValue
Creates a new DoubleValue with the underlying floating-point number.

E

elements(). Method in class com.roguewave.money.currency.v1_0.ExchangeRateTable
Returns all of the exchange rates in an enumeration.
enterExchangeRate(String, String, double). Method in class com.roguewave.money.currency.v1_0.ExchangeRateTable
Adds the exchange rate specified by the source, target and factor values.
entries(). Method in class com.roguewave.money.currency.v1_0.CurrencyBook
Returns the number of currencies in the currency book.
entries(). Method in class com.roguewave.money.currency.v1_0.ExchangeRateTable
Returns the number of exchange rates in this table.
equals(Currency). Method in class com.roguewave.money.currency.v1_0.Currency
Returns true if and only if all of the data members are equal.
equals(ExchangeRate). Method in class com.roguewave.money.currency.v1_0.ExchangeRate
Returns true if this exchange rate and specified exchange rate have identical source currencies, target currencies and conversion factors.
equals(Money). Method in class com.roguewave.money.currency.v1_0.Money
Returns true if this money and the specified money are equal which requires that both the currencies and the amounts be equal.
equals(Money, Money). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns true if the first money is equal to the second money.
equals(Value). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Returns true if the two values are equal.
equals(Value). Method in class com.roguewave.money.currency.v1_0.DoubleValue
Returns true if the two values are equal.
equals(Value). Method in interface com.roguewave.money.currency.v1_0.Value
Returns true if the two values are equal.
EURO. Static variable in class com.roguewave.money.currency.v1_0.EuroGroup
The currency mnemonic for the Euro is "EUR".
EuroGroup(). Constructor for class com.roguewave.money.currency.v1_0.EuroGroup
Creates an empty group.
EuroGroup(String[]). Constructor for class com.roguewave.money.currency.v1_0.EuroGroup
Constructs a Euro exchange group containing these currency mnemonics.
EuroGroup(Vector). Constructor for class com.roguewave.money.currency.v1_0.EuroGroup
Constructs a Euro exchange group containing these currency mnemonics.
Example1(). Constructor for class com.roguewave.examples.money.currency.v1_0.Example1
EXCEPTION. Static variable in class com.roguewave.money.currency.v1_0.DefaultErrorHandler
Throws an exception.
EXCHANGE. Static variable in class com.roguewave.money.currency.v1_0.MoneyException
Identifies an error that happens during an exchange operation.
exchange(Money). Method in class com.roguewave.money.currency.v1_0.DivisionExchange
Exchanges the money to the target currency.
exchange(Money). Method in class com.roguewave.money.currency.v1_0.Exchange
Converts the money in the source currency to a new money with the target currency.
exchange(Money). Method in class com.roguewave.money.currency.v1_0.MultiplicationExchange
Exchanges the money to the target currency.
exchange(Money). Method in class com.roguewave.money.currency.v1_0.TriangularExchange
Exchanges the money to the target currency.
exchange(Money). Method in class com.roguewave.examples.money.currency.v1_0.USDollarExchange
Method to exchange one money for another by first converting the source to the US dollar and then converting the US dollar to the target currency.
Exchange(String, String, String). Constructor for class com.roguewave.money.currency.v1_0.Exchange
Creates a new exchange with desired source, target and conversion method name.
ExchangeFactory(). Constructor for class com.roguewave.money.currency.v1_0.ExchangeFactory
Creates an exchange factory with the default bilateral multiplication group and an empty exchange rate table.
ExchangeFactory(ExchangeRateTable). Constructor for class com.roguewave.money.currency.v1_0.ExchangeFactory
Creates an exchange factory with the default bilateral multiplication group and the given exchange rate table.
ExchangeRate(). Constructor for class com.roguewave.money.currency.v1_0.ExchangeRate
Creates an empty exchange rate.
ExchangeRate(String, String, double). Constructor for class com.roguewave.money.currency.v1_0.ExchangeRate
Creates an exchange rate with the specifed source currency, target currency and multiplicative conversion factor.
ExchangeRateTable(). Constructor for class com.roguewave.money.currency.v1_0.ExchangeRateTable
Creates an empty exchange rate table.

F

factor. Variable in class com.roguewave.money.currency.v1_0.BilateralExchange
FactoryExample(). Constructor for class com.roguewave.examples.money.currency.v1_0.FactoryExample
find(String). Method in class com.roguewave.money.currency.v1_0.CurrencyBook
Finds the currency indicated by the mnemonic.
findConversionFactor(String, String). Method in class com.roguewave.money.currency.v1_0.ExchangeRateTable
Finds the exchange rate that includes the specified source and target currencies and returns its conversion factor.
findExchangeGroup(String). Method in class com.roguewave.money.currency.v1_0.ExchangeFactory
Finds the named exchange group and returns it.
findExchangeRate(String, String). Method in class com.roguewave.money.currency.v1_0.ExchangeRateTable
Finds the exchange rate that includes the specified source and target currencies.
format(Money). Method in class com.roguewave.money.currency.v1_0.MoneyFormat
Formats the money to a string according to the pattern and symbols provided.
Format1(). Constructor for class com.roguewave.examples.money.currency.v1_0.Format1
Format2(). Constructor for class com.roguewave.examples.money.currency.v1_0.Format2

G

getAccuracy(). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns the accuracy (the number of places following the decimal position).
getAction(short, short). Static method in class com.roguewave.money.currency.v1_0.DefaultErrorHandler
Returns the action for a certain exception and operation type.
getAmount(). Method in class com.roguewave.money.currency.v1_0.Money
Returns the amount.
getAnswer(). Method in class com.roguewave.money.currency.v1_0.PrecisionExceededException
Return the answer which exceeded its precision.
getBaseCurrency(). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns the base currency.
getCode(). Method in class com.roguewave.money.currency.v1_0.Currency
Returns the numeric code.
getConversionFactor(). Method in class com.roguewave.money.currency.v1_0.BilateralExchange
Returns the conversion factor.
getConversionFactor(). Method in class com.roguewave.money.currency.v1_0.ExchangeRate
Returns the conversion factor for source to target currency conversion.
getConversionPolicy(). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns the currency conversion policy.
getCurrencies(). Method in class com.roguewave.money.currency.v1_0.CurrencyBook
Returns all of the currencies in the currency book.
getCurrencies(). Method in class com.roguewave.money.currency.v1_0.EuroGroup
Returns the collection of currencies in a vector.
getCurrency(). Method in class com.roguewave.money.currency.v1_0.Money
Returns the currency.
getCurrency1(). Method in class com.roguewave.money.currency.v1_0.MismatchedCurrenciesException
Returns the first currency in the operation.
getCurrency2(). Method in class com.roguewave.money.currency.v1_0.MismatchedCurrenciesException
Returns the second currency in the operation.
getDollarToTargetFactor(). Method in class com.roguewave.examples.money.currency.v1_0.USDollarExchange
Returns the USD->target factor.
getErrorHandler(). Static method in class com.roguewave.money.currency.v1_0.MoneyException
Returns the error handler used by all classes and methods.
getExchange(String, String). Method in class com.roguewave.money.currency.v1_0.ExchangeFactory
Starting with the first entry in the exchange group collection, the factory traverses until it finds an exchange group which can create an exchange object.
getExchange(String, String, ExchangeRateTable). Method in class com.roguewave.money.currency.v1_0.DivisionGroup
Returns an exchange object which can exchange source amounts to target amounts.
getExchange(String, String, ExchangeRateTable). Method in class com.roguewave.money.currency.v1_0.EuroGroup
Generates TriangularExchange objects for the Euro conversion.
getExchange(String, String, ExchangeRateTable). Method in interface com.roguewave.money.currency.v1_0.ExchangeGroup
Returns an exchange object which can exchange source amounts to target amounts.
getExchange(String, String, ExchangeRateTable). Method in class com.roguewave.money.currency.v1_0.MultiplicationGroup
Returns an exchange object which can exchange source amounts to target amounts.
getExchange(String, String, ExchangeRateTable). Method in class com.roguewave.examples.money.currency.v1_0.USDollarGroup
Creates an exchange object, with the rates in the given exchange rate table, that manages the conversion of source currency amounts to target currency amounts through the use of the US Dollar as a base.
getExchangeFactory(). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns the currency exchange factory.
getExchangeGroupAt(int). Method in class com.roguewave.money.currency.v1_0.ExchangeFactory
Returns the exchange group at the specified index.
getExchangeGroupIndex(String). Method in class com.roguewave.money.currency.v1_0.ExchangeFactory
Finds the named exchange group and returns its position in the collection.
getExchangeGroups(). Method in class com.roguewave.money.currency.v1_0.ExchangeFactory
Returns a vector of exchange groups.
getExchangeRateTable(). Method in class com.roguewave.money.currency.v1_0.ExchangeFactory
Returns the factory's exchange rate table.
getExpirationDate(). Method in class com.roguewave.money.currency.v1_0.Currency
Returns the expiration date.
getFirstExchangeGroup(). Method in class com.roguewave.money.currency.v1_0.ExchangeFactory
Returns the first exchange group.
getFractionName(). Method in class com.roguewave.money.currency.v1_0.Currency
Returns the name of the fractional units, if any.
getIntermediate(). Method in class com.roguewave.money.currency.v1_0.TriangularExchange
Returns the intermediate currency
getIntermediateToSourceFactor(). Method in class com.roguewave.money.currency.v1_0.TriangularExchange
Returns the intermediate to source conversion factor.
getIntermediateToTargetFactor(). Method in class com.roguewave.money.currency.v1_0.TriangularExchange
Returns the intermediate to target conversion factor.
getIntroductionDate(). Method in class com.roguewave.money.currency.v1_0.Currency
Returns the introduction date.
getKeys(). Method in class com.roguewave.money.currency.v1_0.CurrencyBook
Returns the keys to all of the elements in the currency book.
getLastExchangeGroup(). Method in class com.roguewave.money.currency.v1_0.ExchangeFactory
Returns the last exchange group.
getMnemonic(). Method in class com.roguewave.money.currency.v1_0.Currency
Returns the mnemonic.
getName(). Method in class com.roguewave.money.currency.v1_0.Currency
Returns the name of the currency.
getName(). Method in class com.roguewave.money.currency.v1_0.DivisionGroup
Returns the name of this group.
getName(). Method in class com.roguewave.money.currency.v1_0.EuroGroup
Returns the name of this group.
getName(). Method in class com.roguewave.money.currency.v1_0.Exchange
Returns the name of the conversion method.
getName(). Method in interface com.roguewave.money.currency.v1_0.ExchangeGroup
Returns the name of this group.
getName(). Method in class com.roguewave.money.currency.v1_0.MultiplicationGroup
Returns the name of this group.
getName(). Method in class com.roguewave.examples.money.currency.v1_0.USDollarExchange
Returns the name of this conversion exchange method.
getName(). Method in class com.roguewave.examples.money.currency.v1_0.USDollarGroup
Returns the name of this exchange group.
getOperand1(). Method in class com.roguewave.money.currency.v1_0.PrecisionExceededException
Return the first operand in the errant operation.
getOperand2(). Method in class com.roguewave.money.currency.v1_0.PrecisionExceededException
Return the second operand in the errant operation.
getOperation(). Method in class com.roguewave.money.currency.v1_0.MoneyException
Returns the operation that was being performed when the error occured.
getOperationAsString(). Method in class com.roguewave.money.currency.v1_0.MoneyException
Returns a string representation of the string for output.
getPrecision(). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Returns the precision
getRate(). Method in class com.roguewave.money.currency.v1_0.BilateralExchange
Returns the source, target and factor values in the form of an ExchangeRate.
getRoundDigit(). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns the rounding digit.
getRoundMethod(). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns the current rounding method.
getScale(). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Returns the scale of this value (the number of the digits to the right of the decimal point).
getSource(). Method in class com.roguewave.money.currency.v1_0.Exchange
Returns the source currency mnemonic.
getSource(). Method in class com.roguewave.money.currency.v1_0.ExchangeRate
Returns the source currency.
getSourceToDollarFactor(). Method in class com.roguewave.examples.money.currency.v1_0.USDollarExchange
Returns the source->USD factor.
getStream(). Static method in class com.roguewave.money.currency.v1_0.DefaultErrorHandler
Returns the current error stream.
getTarget(). Method in class com.roguewave.money.currency.v1_0.Exchange
Returns the target currency mnemonic.
getTarget(). Method in class com.roguewave.money.currency.v1_0.ExchangeRate
Returns the target currency.
getValue(). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Returns the underlying value.
getValue(). Method in class com.roguewave.money.currency.v1_0.DoubleValue
Returns the underlying floating-point double.
getWholeToFractionRatio(). Method in class com.roguewave.money.currency.v1_0.Currency
Returns the ratio between the whole units and the fractional sub-units.
greaterThan(Money). Method in class com.roguewave.money.currency.v1_0.Money
Returns true if this money's amount is greater than that of the specified money.
greaterThan(Money, Money). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns true if the first money is greater than the second money.
greaterThan(Value). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Returns true if this value is greater than the specified value.
greaterThan(Value). Method in class com.roguewave.money.currency.v1_0.DoubleValue
Returns true if this value is greater than the specified value.
greaterThan(Value). Method in interface com.roguewave.money.currency.v1_0.Value
Returns true if this value is greater than the specified value.
greaterThanOrEqual(Money). Method in class com.roguewave.money.currency.v1_0.Money
Returns true if this money's amount is greater than or equal to the specified money.
greaterThanOrEqual(Value). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Returns true if this value is greater than or equal to the specified value.
greaterThanOrEqual(Value). Method in class com.roguewave.money.currency.v1_0.DoubleValue
Returns true if this value is greater than or equal to the specified value.
greaterThanOrEqual(Value). Method in interface com.roguewave.money.currency.v1_0.Value
Returns true if this value is greater than or equal to the specified value.
greaterThanOrEquals(Money, Money). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns true if the first money is greater than or equal to the second money.
greaterThanZero(). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Returns true if this value is greater than zero.
greaterThanZero(). Method in class com.roguewave.money.currency.v1_0.DoubleValue
Returns true if this value is greater than zero.
greaterThanZero(). Method in class com.roguewave.money.currency.v1_0.Money
Returns true if this money's amount is greater than zero.
greaterThanZero(). Method in interface com.roguewave.money.currency.v1_0.Value
Returns true if this value is positive.
greaterThanZero(Money). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns true if the money's amount is greater than zero.
GroupExample(). Constructor for class com.roguewave.examples.money.currency.v1_0.GroupExample

H

handleError(MoneyException). Method in class com.roguewave.money.currency.v1_0.DefaultErrorHandler
Handles the money exception depending on the actions specified.
handleError(MoneyException). Method in interface com.roguewave.money.currency.v1_0.ErrorHandler
Handles a money exception.
handleError(MoneyException). Static method in class com.roguewave.money.currency.v1_0.MoneyException
Hands off the exception to the current error handler.
hasExpired(). Method in class com.roguewave.money.currency.v1_0.Currency
Returns true if today's date is past the expiration date.

I

initialize(). Static method in class com.roguewave.money.currency.v1_0.DefaultErrorHandler
Initializes this handler to the default behavior which is to throw an exception for all errors.
initialize(). Static method in class com.roguewave.examples.money.currency.v1_0.FactoryExample
Function to initialize the global exchange factory.
initialize(Reader). Method in class com.roguewave.money.currency.v1_0.CurrencyBook
Initializes a currency book with currencies from a reader.
initialize(Reader). Method in class com.roguewave.money.currency.v1_0.EuroGroup
Initializes the Euro group currencies from a reader.
initialize(Reader). Method in class com.roguewave.money.currency.v1_0.ExchangeRateTable
Clears this table of all rates and initializes it with new ones from the reader.
insert(Currency). Method in class com.roguewave.money.currency.v1_0.CurrencyBook
Adds the given currency to the currency book.
insertExchangeGroupAt(ExchangeGroup, int). Method in class com.roguewave.money.currency.v1_0.ExchangeFactory
Inserts the exchange group at the desired position in the collection of exchange groups.
INVALID_EXCHANGE. Static variable in class com.roguewave.money.currency.v1_0.MoneyException
Exchange could not be completed.
InvalidExchangeException(). Constructor for class com.roguewave.money.currency.v1_0.InvalidExchangeException
Creates a new exception, with operation EXCHANGE, and the default message.
InvalidExchangeException(String). Constructor for class com.roguewave.money.currency.v1_0.InvalidExchangeException
Creates a new exception, with operation EXCHANGE and a message detailing the problem.
isActive(). Method in class com.roguewave.money.currency.v1_0.Currency
Returns true if today's date is past the introduction date and prior to the expiration date.
isValid(). Method in class com.roguewave.money.currency.v1_0.Currency
Returns true if this is a valid currency.
isValid(). Method in class com.roguewave.money.currency.v1_0.ExchangeRate
Checks to see if this exchange rate has its source, target and factor fields set to non-default values.
isZero(). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Returns true if this value is equal to zero.
isZero(). Method in class com.roguewave.money.currency.v1_0.DoubleValue
Returns true if this value is equal to zero.
isZero(). Method in class com.roguewave.money.currency.v1_0.Money
Returns true if this money's amount is zero.
isZero(). Method in interface com.roguewave.money.currency.v1_0.Value
Returns true if this value is equal to zero.
isZero(Money). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns true if the money's amount is zero.

L

lessThan(Money). Method in class com.roguewave.money.currency.v1_0.Money
Returns true if this money's amount is less than that of the specified money.
lessThan(Money, Money). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns true if the first money is less than the second money.
lessThan(Value). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Returns true if this value is less than the specified value.
lessThan(Value). Method in class com.roguewave.money.currency.v1_0.DoubleValue
Returns true if this value is less than the specified value.
lessThan(Value). Method in interface com.roguewave.money.currency.v1_0.Value
Returns true if this value is less than the specified value.
lessThanOrEqual(Money). Method in class com.roguewave.money.currency.v1_0.Money
Returns true if this money's amount is less than or equal to that of the specified money.
lessThanOrEqual(Value). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Returns true if this value is less than or equal to the specified value.
lessThanOrEqual(Value). Method in class com.roguewave.money.currency.v1_0.DoubleValue
Returns true if this value is less than or equal to the specified value.
lessThanOrEqual(Value). Method in interface com.roguewave.money.currency.v1_0.Value
Returns true if this value is less than or equal to the specified value.
lessThanOrEquals(Money, Money). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns true if the first money is less than or equal to the second money.
lessThanZero(). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Returns true if this value is less than zero.
lessThanZero(). Method in class com.roguewave.money.currency.v1_0.DoubleValue
Returns true if this value is less than zero.
lessThanZero(). Method in class com.roguewave.money.currency.v1_0.Money
Returns true if this money's amount is less than zero.
lessThanZero(). Method in interface com.roguewave.money.currency.v1_0.Value
Returns true if this value is negative.
lessThanZero(Money). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns true if the money's amount is less than zero.

M

main(String[]). Static method in class com.roguewave.examples.money.currency.v1_0.CurrencyExample
This example must be run from the directory containing the data text files.
main(String[]). Static method in class com.roguewave.examples.money.currency.v1_0.Example1
Run program by using this command.
main(String[]). Static method in class com.roguewave.examples.money.currency.v1_0.FactoryExample
This example must be run from the directory containing the data text files.
main(String[]). Static method in class com.roguewave.examples.money.currency.v1_0.Format1
Run program by using this command.
main(String[]). Static method in class com.roguewave.examples.money.currency.v1_0.Format2
Run program by using this command.
main(String[]). Static method in class com.roguewave.examples.money.currency.v1_0.GroupExample
This example must be run from the directory containing the data text files.
main(String[]). Static method in class com.roguewave.examples.money.currency.v1_0.MoneyCalculatorExample
This example must be run from the directory containing the data text files.
main(String[]). Static method in class com.roguewave.examples.money.currency.v1_0.Savings
Run program by using this command.
minus(Money). Method in class com.roguewave.money.currency.v1_0.Money
Returns a new money which is the difference between this money and the given money.
minus(Value). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Returns a value object which has an underlying value equal to the difference between this value and the specified value.
minus(Value). Method in class com.roguewave.money.currency.v1_0.DoubleValue
Returns a value object which has an underlying value equal to the difference between this value and the specified value.
minus(Value). Method in interface com.roguewave.money.currency.v1_0.Value
Subtracts the specified value from this value and returns it in a new value object.
MISMATCHED_CURRENCIES. Static variable in class com.roguewave.money.currency.v1_0.MoneyException
Currencies were not equal where required.
MismatchedCurrenciesException(short, String, String). Constructor for class com.roguewave.money.currency.v1_0.MismatchedCurrenciesException
Creates a new exception with operation type, the two mismatched currencies and a default error message.
MismatchedCurrenciesException(short, String, String, String). Constructor for class com.roguewave.money.currency.v1_0.MismatchedCurrenciesException
Creates a new exception with operation type, the two mismatched currencies and a default error message.
Money(). Constructor for class com.roguewave.money.currency.v1_0.Money
Creates an empty money.
Money(BigDecimal, String). Constructor for class com.roguewave.money.currency.v1_0.Money
Creates a new money with a decimal amount, a currency and the default precision.
Money(BigDecimal, String, int). Constructor for class com.roguewave.money.currency.v1_0.Money
Creates a new money with a decimal amount, a currency and a precision.
Money(double, String). Constructor for class com.roguewave.money.currency.v1_0.Money
Creates a new money with a floating point amount and a currency.
Money(Money). Constructor for class com.roguewave.money.currency.v1_0.Money
Creates a new money with the specified money's currency and amount.
Money(String, String). Constructor for class com.roguewave.money.currency.v1_0.Money
Creates a new money with a decimal amount, a currency and the default precision.
Money(String, String, int). Constructor for class com.roguewave.money.currency.v1_0.Money
Creates a new money with a decimal amount, a currency and a precision.
Money(Value, String). Constructor for class com.roguewave.money.currency.v1_0.Money
Creates a new money with a decimal or floating point value and a currency.
MoneyCalculator(). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator with default rounding, conversion, accuracy and digit.
MoneyCalculator(ExchangeFactory). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator with the default conversion using the specified exchange factory and the default rounding method, accuracy and rounding digit.
MoneyCalculator(ExchangeFactory, short). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator that uses the specified conversion policy and exchange factory with the default base currency, rounding method, accuracy and rounding digit.
MoneyCalculator(ExchangeFactory, short, short). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator that uses the specified conversion policy, exchange factory and rounding method with the default base currency, accuracy and rounding digit.
MoneyCalculator(ExchangeFactory, short, short, int). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator that uses the specified conversion policy, exchange factory, rounding method and accuracy with the default base currency and rounding digit.
MoneyCalculator(ExchangeFactory, short, short, int, int). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator that uses the specified conversion policy, exchange factory, rounding method, accuracy and rounding digit with the default base currency.
MoneyCalculator(ExchangeFactory, short, String). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator that uses the specified conversion policy, exchange factory and base currency with the default rounding method, accuracy and rounding digit.
MoneyCalculator(ExchangeFactory, short, String, short). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator that uses the specified conversion policy, exchange factory, base currency and rounding method with the accuracy and rounding digit.
MoneyCalculator(ExchangeFactory, short, String, short, int). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator that uses the specified conversion policy, exchange factory, base currency, rounding method and accuracy with the default rounding digit.
MoneyCalculator(ExchangeFactory, short, String, short, int, int). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator that uses the specified conversion policy, exchange factory, base currency, rounding method, accuracy and rounding digit.
MoneyCalculator(ExchangeRateTable). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator with the default conversion using the specified exchange rate table and the default rounding method, accuracy and rounding digit.
MoneyCalculator(ExchangeRateTable, short). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator that uses the specified conversion policy and exchange rate table with the default base currency, rounding method, accuracy and rounding digit.
MoneyCalculator(ExchangeRateTable, short, short). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator that uses the specified conversion policy, exchange rate table and rounding method with the default base currency, accuracy and rounding digit.
MoneyCalculator(ExchangeRateTable, short, short, int). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator that uses the specified conversion policy, exchange rate table, rounding method and accuracy with the default base currency and rounding digit.
MoneyCalculator(ExchangeRateTable, short, short, int, int). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator that uses the specified conversion policy, exchange rate table, rounding method, accuracy and rounding digit with the default base currency.
MoneyCalculator(ExchangeRateTable, short, String). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator that uses the specified conversion policy, exchange rate table and base currency with the default rounding method, accuracy and rounding digit.
MoneyCalculator(ExchangeRateTable, short, String, short). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator that uses the specified conversion policy, exchange rate table, base currency and rounding method with the accuracy and rounding digit.
MoneyCalculator(ExchangeRateTable, short, String, short, int). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator that uses the specified conversion policy, exchange rate table, base currency, rounding method and accuracy with the default rounding digit.
MoneyCalculator(ExchangeRateTable, short, String, short, int, int). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator that uses the specified conversion policy, exchange rate table, base currency, rounding method, accuracy and rounding digit.
MoneyCalculator(short, int). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator with the desired rounding method and accuracy and with the default conversion policy and rounding digit.
MoneyCalculator(short, int, int). Constructor for class com.roguewave.money.currency.v1_0.MoneyCalculator
Creates a new calculator with the desired rounding method, accuracy and rounding digit.
MoneyCalculatorExample(). Constructor for class com.roguewave.examples.money.currency.v1_0.MoneyCalculatorExample
MoneyException(short). Constructor for class com.roguewave.money.currency.v1_0.MoneyException
Creates a money exception with the specified operation.
MoneyException(short, String). Constructor for class com.roguewave.money.currency.v1_0.MoneyException
Creates a money exception with the specified operation and message.
MoneyFormat(). Constructor for class com.roguewave.money.currency.v1_0.MoneyFormat
Creates a default formatter using the default pattern and symbols.
MoneyFormat(String). Constructor for class com.roguewave.money.currency.v1_0.MoneyFormat
Creates a formatter using the given pattern and the default symbols.
MoneyFormat(String, DecimalFormatSymbols). Constructor for class com.roguewave.money.currency.v1_0.MoneyFormat
Creates a formatter with the given pattern and symbols.
MULTIPLICATION. Static variable in class com.roguewave.money.currency.v1_0.MoneyException
Identifies an error that happens during a multiplication.
MultiplicationExchange(ExchangeRate). Constructor for class com.roguewave.money.currency.v1_0.MultiplicationExchange
Creates a new exchange object with the source, target and factor taken from the exchange rate.
MultiplicationExchange(String, String, double). Constructor for class com.roguewave.money.currency.v1_0.MultiplicationExchange
Creates a new exchange object with the desired source, target and conversion factor.
MultiplicationGroup(). Constructor for class com.roguewave.money.currency.v1_0.MultiplicationGroup
Creates an empty group.
multiply(Money, BigDecimal). Static method in class com.roguewave.money.currency.v1_0.Money
Returns a new money which is the product of the money and the decimal value.
multiply(Money, BigDecimal). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns a new money which is the product of the money and the decimal value.
multiply(Money, double). Static method in class com.roguewave.money.currency.v1_0.Money
Returns a new money which is the product of the money and the floating point value.
multiply(Money, double). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns a new money which is the product of the money and the floating point value.

N

NAME. Static variable in class com.roguewave.money.currency.v1_0.DivisionExchange
The name of this method of conversion is "Bilateral Division"
NAME. Static variable in class com.roguewave.money.currency.v1_0.DivisionGroup
The name of this conversion group is "Bilateral Division"
NAME. Static variable in class com.roguewave.money.currency.v1_0.EuroGroup
The name of this conversion group is "Euro Triangular"
name. Variable in class com.roguewave.money.currency.v1_0.Exchange
NAME. Static variable in class com.roguewave.money.currency.v1_0.MultiplicationExchange
The name of this method of conversion is "Bilateral Multiplication"
NAME. Static variable in class com.roguewave.money.currency.v1_0.MultiplicationGroup
The name of this conversion group is "Bilateral Multiplication"
NAME. Static variable in class com.roguewave.money.currency.v1_0.TriangularExchange
The name of this method of conversion is "Triangular"
NAME. Static variable in class com.roguewave.examples.money.currency.v1_0.USDollarExchange
The name of this conversion method is "USDollar Method"
NAME. Static variable in class com.roguewave.examples.money.currency.v1_0.USDollarGroup
The name of this group is "USDollarGroup"
negate(). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Returns a new value object which has the negation of this value.
negate(). Method in class com.roguewave.money.currency.v1_0.DoubleValue
Returns a new value object which has the negation of this value.
negate(). Method in class com.roguewave.money.currency.v1_0.Money
Returns a new money which has the negation of this money's amount.
negate(). Method in interface com.roguewave.money.currency.v1_0.Value
Returns the negation of this value in a new value object.
negate(Money). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns a new money which has the negation of the money's amount.
NO_CONVERSION. Static variable in class com.roguewave.money.currency.v1_0.MoneyCalculator
No Conversion.
NO_ROUND. Static variable in class com.roguewave.money.currency.v1_0.Money
Don’t round.
NOT_FOUND. Static variable in class com.roguewave.money.currency.v1_0.ExchangeFactory
Index returned when an exchange group cannot be found.
NOT_FOUND. Static variable in class com.roguewave.money.currency.v1_0.ExchangeRateTable
Used to indicate that an exchange rate is not found in the table.
notEquals(Money). Method in class com.roguewave.money.currency.v1_0.Money
Returns true if this money and the specified money are not equal which means that either the currencies or amounts differ.
notEquals(Value). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Returns true if the two values are not equal.
notEquals(Value). Method in class com.roguewave.money.currency.v1_0.DoubleValue
Returns true if the two values are not equal.
notEquals(Value). Method in interface com.roguewave.money.currency.v1_0.Value
Returns true if the two values are not equal.
NUMBER_OF_OPERATIONS. Static variable in class com.roguewave.money.currency.v1_0.MoneyException
The total number of operation types.
numberOfCurrencies(). Method in class com.roguewave.money.currency.v1_0.EuroGroup
Returns the number of currencies in the Euro group.
numberOfExchangeGroups(). Method in class com.roguewave.money.currency.v1_0.ExchangeFactory
Returns the number of exchange groups.

O

over(BigDecimal). Method in class com.roguewave.money.currency.v1_0.Money
Returns a new money which is the quotient of this money divided by the decimal divisor.
over(double). Method in class com.roguewave.money.currency.v1_0.Money
Returns a new money which is the quotient of this money divided by the floating point divisor.
over(Value). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Returns a value object which has an underlying value equal to this value divided by the specified value.
over(Value). Method in class com.roguewave.money.currency.v1_0.DoubleValue
Returns a value object which has an underlying value equal to this value divided by the specified value.
over(Value). Method in interface com.roguewave.money.currency.v1_0.Value
Divides this value by the specified value and returns it in a new value object.

P

plus(Money). Method in class com.roguewave.money.currency.v1_0.Money
Returns a new money which is the sum of this money and the specified money.
plus(Value). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Returns a value object which has an underlying value equal to the sum of this value and the specified value.
plus(Value). Method in class com.roguewave.money.currency.v1_0.DoubleValue
Returns a value object which has an underlying value equal to the sum of the this value and the specified value.
plus(Value). Method in interface com.roguewave.money.currency.v1_0.Value
Adds the specified value to this value and returns it in a new value object.
PRECISION_EXCEEDED. Static variable in class com.roguewave.money.currency.v1_0.MoneyException
Error caused by imprecision.
PrecisionExceededException(short, Object, Object, Money). Constructor for class com.roguewave.money.currency.v1_0.PrecisionExceededException
Create a new exception with the type of operation, the two operands, the imprecise answer and the default message.
PrecisionExceededException(short, Object, Object, Money, String). Constructor for class com.roguewave.money.currency.v1_0.PrecisionExceededException
Create a new exception with the type of operation, the two operands, the imprecise answer and a message.
prependExchangeGroup(ExchangeGroup). Method in class com.roguewave.money.currency.v1_0.ExchangeFactory
Prepends the exchange group to the collection of exchange groups.

R

read(Reader). Static method in class com.roguewave.money.currency.v1_0.Currency
Reads in data values and initializes a new currency with those values.
read(Reader). Static method in class com.roguewave.money.currency.v1_0.CurrencyBook
Creates a new currency book with initialized values from a reader.
read(Reader). Static method in class com.roguewave.money.currency.v1_0.EuroGroup
Creates a new Euro group with initialized values from a reader.
read(Reader). Static method in class com.roguewave.money.currency.v1_0.ExchangeRate
Reads in data values and initializes a new exchange rate with those values.
read(Reader). Static method in class com.roguewave.money.currency.v1_0.ExchangeRateTable
Creates a new exchange rate table and initializes it with exchange rates.
remove(Currency). Method in class com.roguewave.money.currency.v1_0.CurrencyBook
Removes the given currency.
remove(ExchangeRate). Method in class com.roguewave.money.currency.v1_0.ExchangeRateTable
Removes this exchange rate from the table.
remove(String). Method in class com.roguewave.money.currency.v1_0.CurrencyBook
Removes the currency indicated by the currency mnemonic.
remove(String, String). Method in class com.roguewave.money.currency.v1_0.ExchangeRateTable
Removes the exchange rate from the table described by the source, target pair.
removeCurrency(String). Method in class com.roguewave.money.currency.v1_0.EuroGroup
Removes the currency from the list of Euro currencies.
removeExchangeGroup(String). Method in class com.roguewave.money.currency.v1_0.ExchangeFactory
Removes the named exchange group.
removeExchangeGroupAt(int). Method in class com.roguewave.money.currency.v1_0.ExchangeFactory
Removes the exchange group at the specified position.
removeFirstExchangeGroup(). Method in class com.roguewave.money.currency.v1_0.ExchangeFactory
Removes the first exchange group.
removeLastExchangeGroup(). Method in class com.roguewave.money.currency.v1_0.ExchangeFactory
Removes the last exchange group.
replace(ExchangeRate). Method in class com.roguewave.money.currency.v1_0.ExchangeRateTable
Replaces the exchange rate in the table which has the same source and target as the specified one with this new rate.
report(MoneyFormat). Static method in class com.roguewave.examples.money.currency.v1_0.Format2
round(). Method in class com.roguewave.money.currency.v1_0.Money
Returns a new money with the rounded value of this money.
round(int). Method in class com.roguewave.money.currency.v1_0.Money
Returns a new money with the rounded value of this money using the specified accuracy.
round(int, short). Method in class com.roguewave.money.currency.v1_0.Money
Returns a new money with the rounded value of this money using the specified accuracy and the desired rounding method.
round(int, short, int). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Rounds this value and returns it in a new value object.
round(int, short, int). Method in class com.roguewave.money.currency.v1_0.DoubleValue
Rounds this value and returns it in a new value object.
round(int, short, int). Method in class com.roguewave.money.currency.v1_0.Money
Returns a new money with the rounded value of this money using the specified accuracy, the desired rounding method and the specified rounding digit.
round(int, short, int). Method in interface com.roguewave.money.currency.v1_0.Value
Rounds this value and returns it in a new value object.
round(Money). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns a new rounded version of the specified money.
ROUND_BANKERS. Static variable in class com.roguewave.money.currency.v1_0.Money
Bankers.
ROUND_DOWN. Static variable in class com.roguewave.money.currency.v1_0.Money
Round down.
ROUND_PLAIN. Static variable in class com.roguewave.money.currency.v1_0.Money
Plain.
ROUND_UP. Static variable in class com.roguewave.money.currency.v1_0.Money
Round up.

S

sales. Static variable in class com.roguewave.examples.money.currency.v1_0.Format2
sameCurrency(Money, Money). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns true if the two money objects have the same currency.
sameSourceAndTarget(ExchangeRate). Method in class com.roguewave.money.currency.v1_0.ExchangeRate
Tests whether the specified rate has the same source and target currencies.
Savings(). Constructor for class com.roguewave.examples.money.currency.v1_0.Savings
setAccuracy(int). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Sets the accuracy (the desired number of places to the right of the decimal point).
setAction(short, short, short). Static method in class com.roguewave.money.currency.v1_0.DefaultErrorHandler
Sets the action to be taken for a certain error type during a certain operation.
setActionByOperation(short, short). Static method in class com.roguewave.money.currency.v1_0.DefaultErrorHandler
Sets the action to be taken for a certain operation.
setActionByType(short, short). Static method in class com.roguewave.money.currency.v1_0.DefaultErrorHandler
Sets the action to be taken for a certain error type.
setActions(short). Static method in class com.roguewave.money.currency.v1_0.DefaultErrorHandler
Sets the action to be taken for all error types and operations.
setAmount(BigDecimal). Method in class com.roguewave.money.currency.v1_0.Money
Sets the amount.
setAmount(double). Method in class com.roguewave.money.currency.v1_0.Money
Sets the amount.
setAmount(String). Method in class com.roguewave.money.currency.v1_0.Money
Sets the amount.
setBaseCurrency(String). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Sets the base currency.
setCode(int). Method in class com.roguewave.money.currency.v1_0.Currency
Sets the numeric code.
setConversionFactor(double). Method in class com.roguewave.money.currency.v1_0.BilateralExchange
Sets the conversion factor.
setConversionFactor(double). Method in class com.roguewave.money.currency.v1_0.ExchangeRate
Sets the conversion factor which when multiplied by a source amount gives a target amount.
setConversionPolicy(short). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Sets the currency conversion policy.
setCurrencies(String[]). Method in class com.roguewave.money.currency.v1_0.EuroGroup
Sets the collection of Euro currencies.
setCurrencies(Vector). Method in class com.roguewave.money.currency.v1_0.EuroGroup
Sets the collection of Euro currencies.
setCurrency(String). Method in class com.roguewave.money.currency.v1_0.Money
Sets the currency.
setDollarToTargetFactor(double). Method in class com.roguewave.examples.money.currency.v1_0.USDollarExchange
Sets the USD->target factor.
setErrorHandler(ErrorHandler). Static method in class com.roguewave.money.currency.v1_0.MoneyException
Sets the error handler to a new instance.
setExchangeFactory(ExchangeFactory). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Sets the exchange factory which will be used for currency conversions.
setExchangeGroups(Vector). Method in class com.roguewave.money.currency.v1_0.ExchangeFactory
Sets the vector of exchange groups.
setExchangeRateTable(ExchangeRateTable). Method in class com.roguewave.money.currency.v1_0.ExchangeFactory
Sets the factory's exchange rate table.
setExpirationDate(Date). Method in class com.roguewave.money.currency.v1_0.Currency
Sets the expiration date.
setFactor(String, String, double). Method in class com.roguewave.money.currency.v1_0.ExchangeRateTable
Replaces the currency exchange rate that matches the source, target pair with this specified new conversion factor.
setFractionName(String). Method in class com.roguewave.money.currency.v1_0.Currency
Sets the name of the fractional units.
setIntermediate(String). Method in class com.roguewave.money.currency.v1_0.TriangularExchange
Sets the intermediate currency in the two-step conversion process.
setIntermediateToSourceFactor(double). Method in class com.roguewave.money.currency.v1_0.TriangularExchange
Sets the intermediate to source conversion factor.
setIntermediateToTargetFactor(double). Method in class com.roguewave.money.currency.v1_0.TriangularExchange
Sets the intermediate to target conversion factor.
setIntroductionDate(Date). Method in class com.roguewave.money.currency.v1_0.Currency
Sets the introduction date.
setMnemonic(String). Method in class com.roguewave.money.currency.v1_0.Currency
Sets the mnemonic.
setName(String). Method in class com.roguewave.money.currency.v1_0.Currency
Sets the name of the currency.
setName(String). Method in class com.roguewave.money.currency.v1_0.Exchange
Sets the name of the conversion method.
setPrecision(int). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Sets the precision.
setRate(ExchangeRate). Method in class com.roguewave.money.currency.v1_0.BilateralExchange
Sets the desired source, target and conversion factor through an ExchangeRate.
setRoundDigit(int). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Sets the rounding digit which comes into play during plain and bankers rounding.
setRoundMethod(short). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Sets the current rounding method.
setSource(String). Method in class com.roguewave.money.currency.v1_0.Exchange
Sets the source currency mnemonic.
setSource(String). Method in class com.roguewave.money.currency.v1_0.ExchangeRate
Sets the source currency.
setSourceToDollarFactor(double). Method in class com.roguewave.examples.money.currency.v1_0.USDollarExchange
Sets the source->USD factor.
setStream(PrintStream). Static method in class com.roguewave.money.currency.v1_0.DefaultErrorHandler
Sets the error stream.
setTarget(String). Method in class com.roguewave.money.currency.v1_0.Exchange
Sets the target currency mnemonic.
setTarget(String). Method in class com.roguewave.money.currency.v1_0.ExchangeRate
Sets the target currency.
setValue(BigDecimal). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Sets the decimal value with no change to the current precision.
setValue(BigDecimal, int). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Sets the decimal value and the precision.
setValue(double). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Sets the decimal value to the floating-point number.
setValue(double). Method in class com.roguewave.money.currency.v1_0.DoubleValue
Sets the underlying floating-point value.
setValue(double, int). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Sets the decimal value to the floating-point number and the specified precision.
setValue(DoubleValue). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Sets the decimal value to the underlying floating-point number.
setValue(DoubleValue, int). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Sets the decimal value to the underlying floating-point number and the precision.
setWholeToFractionRatio(double). Method in class com.roguewave.money.currency.v1_0.Currency
Sets the ratio of whole units to fractional sub-units.
SILENT. Static variable in class com.roguewave.money.currency.v1_0.DefaultErrorHandler
Ignore the error completely.
source. Variable in class com.roguewave.money.currency.v1_0.Exchange
subtract(Money, Money). Static method in class com.roguewave.money.currency.v1_0.Money
Returns a new money which is the difference between the two money objects.
subtract(Money, Money). Method in class com.roguewave.money.currency.v1_0.MoneyCalculator
Returns a new money which is the difference between the two money objects.
SUBTRACTION. Static variable in class com.roguewave.money.currency.v1_0.MoneyException
Identifies an error that happens during a subtraction.

T

target. Variable in class com.roguewave.money.currency.v1_0.Exchange
times(BigDecimal). Method in class com.roguewave.money.currency.v1_0.Money
Returns a new money which is the product of this money and the decimal number.
times(double). Method in class com.roguewave.money.currency.v1_0.Money
Returns a new money which is the product of this money and the floating point number.
times(Value). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Returns a value object which has an underlying value equal to the product between this value and the specified value.
times(Value). Method in class com.roguewave.money.currency.v1_0.DoubleValue
Returns a value object which has an underlying value equal to the product between this value and the specified value.
times(Value). Method in interface com.roguewave.money.currency.v1_0.Value
Multiplies the specified value with this value and returns it in a new value object.
toString(). Method in class com.roguewave.money.currency.v1_0.BigDecimalValue
Returns a string representation of the encapsulated value.
toString(). Method in class com.roguewave.money.currency.v1_0.Currency
Currency is converted to a string.
toString(). Method in class com.roguewave.money.currency.v1_0.CurrencyBook
Returns a string representation of this collection of currencies.
toString(). Method in class com.roguewave.money.currency.v1_0.DoubleValue
Returns a string representation of the encapsulated value.
toString(). Method in class com.roguewave.money.currency.v1_0.ExchangeRate
Returns a string representation of this exchange rate.
toString(). Method in class com.roguewave.money.currency.v1_0.InvalidExchangeException
Returns a string representation of the exception consisting of the message.
toString(). Method in class com.roguewave.money.currency.v1_0.MismatchedCurrenciesException
Returns a string representation of this exception including an error message, the operation and the two currencies involved.
toString(). Method in class com.roguewave.money.currency.v1_0.Money
Returns a string representation of this money.
toString(). Method in class com.roguewave.money.currency.v1_0.MoneyException
A string representation of the exception.
toString(). Method in class com.roguewave.money.currency.v1_0.PrecisionExceededException
Return a string representation of the exception.
toString(). Method in interface com.roguewave.money.currency.v1_0.Value
Returns a string representation of the encapsulated value.
TriangularExchange(String, String, String, double, double). Constructor for class com.roguewave.money.currency.v1_0.TriangularExchange
Creates a new exchange object with the desired source, target, intermediate and conversion factor.

U

USDollarExchange(String, String, double, double). Constructor for class com.roguewave.examples.money.currency.v1_0.USDollarExchange
Creates a new US Dollar exchange with a source, target and factors to use the US Dollar as a go between to convert the source to the target.
USDollarGroup(). Constructor for class com.roguewave.examples.money.currency.v1_0.USDollarGroup
Creates a US Dollar group.
usingDecimal(). Static method in class com.roguewave.examples.money.currency.v1_0.Example1
usingDecimalFromDouble(). Static method in class com.roguewave.examples.money.currency.v1_0.Example1
usingDouble(). Static method in class com.roguewave.examples.money.currency.v1_0.Example1

W

WARNING. Static variable in class com.roguewave.money.currency.v1_0.DefaultErrorHandler
Generates a warning message to the specified print stream.
write(Writer). Method in class com.roguewave.money.currency.v1_0.Currency
Persists the currency's data.
write(Writer). Method in class com.roguewave.money.currency.v1_0.CurrencyBook
Persists the book's collection of currencies.
write(Writer). Method in class com.roguewave.money.currency.v1_0.EuroGroup
Persists the group's collection of currency mnemonics.
write(Writer). Method in class com.roguewave.money.currency.v1_0.ExchangeRate
Persists this rate to a writer.
write(Writer). Method in class com.roguewave.money.currency.v1_0.ExchangeRateTable
Persists the table's exchange rates to this writer.