xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 2KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-14
  • 語言: Java
  • 標簽: Java??合工大??實驗??

資源簡介

合工大java程序設計實驗,實現貨物管理機制,包含三個部分,需要建立文件存儲貨物信息,從文件讀入處理貨物信息

資源截圖

代碼片段和文件信息

package?test2;

public?class?Inventory?{
String?itemNumber;
int?quantity;
String?supplierdescription;
int?flag;



public?Inventory(String?itemNumber?int?quantity?String?supplier?String?description?int?flag)?{
super();
this.itemNumber?=?itemNumber;
this.quantity?=?quantity;
this.supplier?=?supplier;
this.description?=?description;
this.flag?=?flag;
}

@Override
public?boolean?equals(object?obj)?{
if(!(obj?instanceof?Inventory))?{
return?false;
}
Inventory?inve?=?(Inventory)obj;
return?this.itemNumber.equals(inve.itemNumber);
}

???/*?@Override
????public?String?toString()?{
???? StringBuffer?s?=?new?StringBuffer();
???? s.append(itemNumber).append(“\t“).append(quantity).append(“\t“).append(supplier).append(“\t“).append(description);
???? return?s.toString();
????
????}
????*/
}



?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????870??2018-10-12?22:34??code\Inventory.java
?????文件????????4590??2018-10-12?23:06??code\Test.java
?????文件????????1645??2018-10-12?21:47??code\Transaction.java

評論

共有 條評論