warehouse.java

来自「Java核心技术卷2 配套源代码 绝对全和经典」· Java 代码 · 共 21 行

JAVA
21
字号
/**
   @version 1.02 2004-08-15
   @author Cay Horstmann
*/

import java.rmi.*;
import java.util.*;

/**
   The remote interface for a warehouse with products.
*/
public interface Warehouse extends Remote
{  
   /**
      Gets products that are good matches for a customer.
      @param c the customer to match
      @return an array list of matching products
   */
   ArrayList<Product> find(Customer c) throws RemoteException;
}

⌨️ 快捷键说明

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