author | Jaroslav Tulach <jtulach@netbeans.org> |
Sat, 25 Oct 2008 20:53:00 +0200 | |
changeset 84 | 2ae6e4aa7aef |
parent 50 | 03c5c5dc94e7 |
permissions | -rw-r--r-- |
1 package org.apidesign.apifest08.currency;
3 /**
4 * This is interface for creating currency rates. The rate can be static or can change in time.
5 * Implement this interface to inform the Convertor about the actual exchange rate between two currencies.
6 */
7 public interface CurrencyRate {
8 public String getCurrency1();
9 public String getCurrency2();
10 public Rate getRate();
11 }