hashing enderecamento aberto bean - bean

1
C:\Users\elain\Documents\NetBeansProjects\Hashing\src\hashing\hash.java 1 package hashing; 2 3 public class hash { 4 5 int chave; 6 char status; 7 8 public hash() { 9 10 } 11 12 public hash(int chave) { 13 this.chave = chave; 14 } 15 16 public hash(char livre) { 17 this.status = livre; 18 } 19 20 public hash(int chave, char livre) { 21 this.chave = chave; 22 this.status = livre; 23 } 24 25 public char getStatus() { 26 return status; 27 } 28 29 public void setStatus(char status) { 30 this.status = status; 31 } 32 33 public int getChave() { 34 return chave; 35 } 36 37 public void setChave(int chave) { 38 this.chave = chave; 39 } 40 } 41 hash.java file:///C:/Users/elain/hash.html 1 de 1 10/09/2016 22:06

Upload: elaine-cecilia-gatto

Post on 10-Feb-2017

31 views

Category:

Education


5 download

TRANSCRIPT

Page 1: Hashing enderecamento aberto bean - bean

C:\Users\elain\Documents\NetBeansProjects\Hashing\src\hashing\hash.java

1 package hashing; 2 3 public class hash { 4 5 int chave; 6 char status; 7 8 public hash() { 9 10 }11 12 public hash(int chave) {13 this.chave = chave;14 }15 16 public hash(char livre) {17 this.status = livre;18 }19 20 public hash(int chave, char livre) {21 this.chave = chave;22 this.status = livre;23 }24 25 public char getStatus() {26 return status;27 }28 29 public void setStatus(char status) {30 this.status = status;31 }32 33 public int getChave() {34 return chave;35 }36 37 public void setChave(int chave) {38 this.chave = chave;39 }40 }41

hash.java file:///C:/Users/elain/hash.html

1 de 1 10/09/2016 22:06