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

📄 stockreader.java

📁 这是一个买卖系统,一个模拟的系统,根据下订单,看订单,买,等功能
💻 JAVA
字号:
package Middle;

import Catalogue.*;
import javax.swing.ImageIcon;

/**
  * Interface for read access to the stock list.
  * @author  Michael Alexander Smith
  * @version 2.0
  */

public interface StockReader
{

 /**
   * Checks if the product exits in the stock list
   * @return true if exists otherwise false
   */
  
  boolean exists( String number ) throws StockException;
         
  /**
   * Returns details about the product in the stock list
   * @return StockNumber, Description, Price, Quantity
   */
  
  Product getDetails( String number ) throws StockException;
  
  
  /**
   * Returns an image of the product in the stock list
   * @return Image
   */
  
  ImageIcon getImage( String number ) throws StockException;
}

⌨️ 快捷键说明

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