Guest User

Untitled

a guest
Jun 22nd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. MACACO_AND_GURILA("Macaco","Gurila"),
  2. JACA_AND_ESCADA("Escada","Jaca");
  3.  
  4.  
  5. private String tipoUm, tipoDois;
  6.  
  7. private TiposEnum(String tipoUm, String tipoDois) {
  8. this.tipoUm = tipoUm;
  9. this.tipoDois = tipoDois;
  10. }
  11.  
  12. public String getTipoUm() {
  13. return this.tipoUm;
  14. }
  15.  
  16. public String getTipoDois() {
  17. return this.tipoDois;
  18. }
  19. public TiposEnum[] geTiposMacacos() {
  20. return TiposEnum.MACACO_AND_GURILA.values();
  21. }
  22.  
  23. public TiposEnum[] geTiposCoisas() {
  24. return TiposEnum.JACA_AND_ESCADA.values();
  25. }
Add Comment
Please, Sign In to add comment