author | Jaroslav Tulach <jaroslav.tulach@apidesign.org> |
Tue, 07 Oct 2008 11:05:34 +0200 | |
changeset 45 | 251d0ed461fb |
parent 34 | task2/solution02/src/org/apidesign/apifest08/currency/ExtendedConvertor.java@3a18aae85c9e |
permissions | -rw-r--r-- |
japod@34 | 1 |
package org.apidesign.apifest08.currency; |
japod@34 | 2 |
|
japod@34 | 3 |
import java.util.Currency; |
japod@34 | 4 |
|
japod@34 | 5 |
/** |
japod@34 | 6 |
* Extended convertor interface. |
japod@34 | 7 |
* @author lukas |
japod@34 | 8 |
* |
japod@34 | 9 |
*/ |
japod@34 | 10 |
public interface ExtendedConvertor extends Convertor { |
japod@34 | 11 |
/** |
japod@34 | 12 |
* Returns true if given conversion is supported. |
japod@34 | 13 |
* @param from |
japod@34 | 14 |
* @param to |
japod@34 | 15 |
* @return |
japod@34 | 16 |
*/ |
japod@34 | 17 |
public boolean isConversionSupported(Currency from, Currency to); |
japod@34 | 18 |
} |