91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 6KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-18
  • 語言: 其他
  • 標簽: Tag??

資源簡介

此代碼是我們課程設計的內容之一,代碼是用GUI實現的對初學者很有幫助,里面的功能強大,涉及各種排序、查找、添加等功能

資源截圖

代碼片段和文件信息

package?BooksManage;
public?class?Books?{
private?String?time;
private?String?name; //書的名稱
private?String?author; //書的作者
private?String?cost; //書的價格
private?String?type; //書的類型
public?Books(){
this.time=““;
this.name=““;
this.author=““;
this.cost=““;
this.type=““;
}
public?Books(String?timeString?nameString?authorString?costString?type){
this.time=time;
this.name=name;
this.author=author;
this.cost=cost;
this.type=type;
}
public?Books(String[]?str){
this.type=str[0];
this.name=str[1];
this.author=str[2];
this.cost=str[3];
this.time=str[4];
}
public?Books(Books?book)?{
this.type=book.getType();
this.name=book.getName();
this.author=book.getAuthor();
this.cost=book.getCost();
this.time=book.getTime();
}
public?String?getTime(){
return?time;
}
public?String?getName(){
return?name;
}
public?String?getAuthor(){
return?author;
}
public?String?getCost(){
return?cost;
}
public?String?getType(){
return?type;
}
public?String?toString(){
return?this.getType()+“?“+this.getName()+“?“+this.getAuthor()+“?“+this.getCost()+“?“+this.getTime();
}
public?long?timeToString(){
long?date;
String?str=““;?
if(time.length()==8){
str=time.substring(04)+0+time.substring(56)+0+time.substring(78);
}else?if(time.length()==9&&time.charAt(7)==‘-‘){
str=time.substring(04)+time.substring(57)+0+time.substring(89);
}
else?if(time.length()==9&&time.charAt(6)==‘-‘){
str=time.substring(04)+0+time.substring(56)+time.substring(79);
}else?if(time.length()==10){
str=time.substring(04)+time.substring(57)+time.substring(810);
}
date=Integer.parseInt(str);

return?date;
}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????1772??2009-01-01?10:30??簡單個人書管理系統的設計與實現\Books.java

?????文件??????17606??2009-01-16?12:26??簡單個人書管理系統的設計與實現\Manager.java

?????目錄??????????0??2009-01-16?12:26??簡單個人書管理系統的設計與實現

-----------?---------??----------?-----??----

????????????????19378????????????????????3


評論

共有 條評論