📄 candidato.java
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package laforehash;/** * * @author Administrador */public class Candidato implements Node { // (could be other items) private String nome; private String formacao; private String graduacao; private String cpf; private String status; private int id; private Node next=null; // next link in list// -------------------------------------------------------------// ------------------------------------------------------------- public Node getNext (){ return next; } public void setNext (Node next){ this.next=next; } public void setNome (String nome){ this.nome=nome; } public String getNome(){ return nome; } public void setFormacao (String formacao){ this.formacao=formacao; } public String getFormacao() { return formacao; } public void setGraduacao (String graduacao) { this.graduacao=graduacao; } public String getGraduacao() { return graduacao; } public void setCpf (String cpf){ this.cpf=cpf; } public String getCpf() { return cpf; } public void setStatus (String status){ this.status=status; } public String getStatus() { return status; } public void setId (int id){ this.id=id; } public int getId() { return id; } public void displayLink() // display this link { System.out.print("\nNome: "+ nome); System.out.print("\nFormacao: "+ formacao); System.out.print("\nStatus: "+ status); System.out.print("\nGraduacao: "+ graduacao); System.out.print("\nCPF: "+ cpf); System.out.print("\nId: "+ id); } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -