|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChangeSource
A class representing a currency conveter.
Method Summary | |
---|---|
float |
getConverted(float amount,
Currency source,
Currency target)
public Money convert(Money source, Currency target) { return new Money(getConverted(source.getAmount(), source.getCurrency(), target), target); } |
Method Detail |
---|
float getConverted(float amount, Currency source, Currency target) throws UnavailableDataException
UnavailableDataException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |