catalog.java
来自「这是《精通EJB3.0》一书中的代码」· Java 代码 · 共 32 行
JAVA
32 行
package examples.shop.logic;import java.util.*;import examples.shop.impl.entity.Product;/** * This is the Catalog business interface. */public interface Catalog { /** * @return a vector of Products */ public List<Product> getProductList(); /** * @return a Product for the given product id. */ public Product getProduct(String productId); /** * Add a new product to the catalog * @param product */ public void addProduct(Product product); }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?