⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 converter.java

📁 一个java写的加密算法
💻 JAVA
字号:
/* * Copyright 2004-2005 Sun Microsystems, Inc.  All rights reserved. * Use is subject to license terms. */package samples.rmi.simple.ejb;import javax.ejb.EJBObject;import java.rmi.RemoteException;import java.math.*;/** * Remote interface for the ConverterEJB. The remote interface  * defines all possible business methods for the bean. These are  * the methods going tobe invoked remotely by clients, once they  * have a reference to the remote interface. * * Clients generally take the help of JNDI to lookup the bean's  * home interface and then use the home interface to obtain  * references to the bean's remote interface. */public interface Converter extends EJBObject {    /**     * Returns the yen value for given dollar amount.     * @param dollars Dollar amount tobe converted to yen.     */    public BigDecimal dollarToYen(BigDecimal dollars) throws RemoteException;    /**     * Returns the euro value for given yen amount.     * @param yen Yen amount tobe converted to euro.     */    public BigDecimal yenToEuro(BigDecimal yen) throws RemoteException;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -