task4/solution14/src/org/apidesign/apifest08/currency/CurrencyRate.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Sat, 11 Oct 2008 23:38:46 +0200
changeset 61 58ec6da75f6f
parent 54 task3/solution14/src/org/apidesign/apifest08/currency/CurrencyRate.java@1b300c79f4ce
permissions -rw-r--r--
Copying structure for task4
japod@49
     1
package org.apidesign.apifest08.currency;
japod@49
     2
japod@54
     3
/**
japod@54
     4
 * This is interface for creating currency rates. The rate can be static or can change in time.
japod@54
     5
 * Implement this interface to inform the Convertor about the actual exchange rate between two currencies.
japod@54
     6
 */
japod@49
     7
public interface CurrencyRate {
japod@49
     8
    public String getCurrency1();
japod@49
     9
    public String getCurrency2();
japod@49
    10
    public Rate getRate();
japod@49
    11
}