Erro.java 866 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. */
  6. package cache;
  7. /**
  8. *
  9. * @author Juninho Carlos
  10. */
  11. public class Erro {
  12. private int conjunto;
  13. private int bloco;
  14. private int palavra;
  15. public Erro(int conjunto,int bloco,int palavra){
  16. this.conjunto = conjunto;
  17. this.bloco = bloco;
  18. this.palavra = palavra;
  19. }
  20. public int getConjunto(){
  21. return this.conjunto;
  22. }
  23. public int getBloco(){
  24. return this.bloco;
  25. }
  26. public int getPalavra(){
  27. return this.palavra;
  28. }
  29. @Override
  30. public String toString() {
  31. return conjunto+" "+bloco+" "+palavra; //To change body of generated methods, choose Tools | Templates.
  32. }
  33. }