author | Jaroslav Tulach <jaroslav.tulach@apidesign.org> |
Sat, 11 Oct 2008 23:38:46 +0200 | |
changeset 61 | 58ec6da75f6f |
parent 45 | task3/solution02/src/org/apidesign/apifest08/currency/ExtendedConvertor.java@251d0ed461fb |
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 |
} |