Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MACACO_AND_GURILA("Macaco","Gurila"),
- JACA_AND_ESCADA("Escada","Jaca");
- private String tipoUm, tipoDois;
- private TiposEnum(String tipoUm, String tipoDois) {
- this.tipoUm = tipoUm;
- this.tipoDois = tipoDois;
- }
- public String getTipoUm() {
- return this.tipoUm;
- }
- public String getTipoDois() {
- return this.tipoDois;
- }
- public TiposEnum[] geTiposMacacos() {
- return TiposEnum.MACACO_AND_GURILA.values();
- }
- public TiposEnum[] geTiposCoisas() {
- return TiposEnum.JACA_AND_ESCADA.values();
- }
Add Comment
Please, Sign In to add comment