- redeem(int) - Method in class ca.roumani.i2c.RewardCard
-
Redeem the passed number of points and reduce the point balance
accordingly.
- refresh() - Method in class ca.roumani.i2c.Stock
-
Connect to the exchange and
obtain the name and price of this
stock and update its attributes accordingly.
- remove(String) - Method in class ca.roumani.i2c.GlobalCredit
-
Remove the card whose number is passed from this
GCC.
- remove(int) - Method in class ca.roumani.i2c.Portfolio
-
Remove the investment with the passed index from this
portfolio.
- repeat(int, char) - Static method in class ca.roumani.i2c.Utility
-
Create a string containing the passed character repeated as many times as
specified.
- resembles(Fraction) - Method in class ca.roumani.i2c.Fraction
-
Determine if this
fraction resembles the passed one.
- resembles(MixedNumber) - Method in class ca.roumani.i2c.MixedNumber
-
Determine if this
mixed number resembles
the passed one.
- resembles(Money) - Method in class ca.roumani.i2c.Money
-
Determine if this
money object resembles
the passed one.
- REWARD_RATE - Static variable in class ca.roumani.i2c.RewardCard
-
The rate used to compute the number of reward points.
- RewardCard - Class in ca.roumani.i2c
-
This class encapsulates a special kind of credit card that is similar to
CreditCard
except it offers reward points.
- RewardCard(int, String, double) - Constructor for class ca.roumani.i2c.RewardCard
-
Construct a reward credit card having the passed number, holder name and
credit limit and set its initial dollar and point balances to zero.
- RewardCard(int, String) - Constructor for class ca.roumani.i2c.RewardCard
-
Construct a reward card having the passed number and holder name, and set
its initial dollar and point balances to zero.