shoppingcartremotebusiness.java

来自「精通NetBeans光盘源代码,很好很好的资料」· Java 代码 · 共 25 行

JAVA
25
字号

package shop.cart;

import java.rmi.RemoteException;
import java.util.Vector;


/**
 * This is the business interface for ShoppingCart enterprise bean.
 */
public interface ShoppingCartRemoteBusiness {
 	 void addToCart(String id, String title, double price, int quantity) throws RemoteException;

  
	  boolean removeFromCart(String id)  throws RemoteException;

  
	 double getBalance()  throws RemoteException;
 

	  Vector getCart() throws RemoteException;

	void clearCart()throws RemoteException;    
}

⌨️ 快捷键说明

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