?? node.java
字號:
/*
* Node.java
*
* Created on 2007年11月14日, 下午3:13
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package idcarda;
/**
*
* @author Administrator
*/
public class Node {
private Card data;
private Node next;
/** Creates a new instance of Node */
public Node(String name,String department,String IDnum,String telephone,String email) {
data=new Card(name,department,IDnum,telephone,email);
next=null;
}
public void setNext(Node next){
this.next=next;
}
public void setData(String name,String department,String IDnum,String telephone,String email){
data.setAll(name,department,IDnum,telephone,email);
}
public Node getNext(){
return this.next;
}
public Card getData(){
return data;
}
public String toString(){
String a="";
return a+data;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -