I have multiple enums each share the same constructor.
private String name;
private String value;
private EnumName(String name, String value){
this.name = name;
this.value = value;
}
Is there a way to extend one Enum or something along those lines so I don't have to have the code in every Enum?