I have this enum class:
public enum IconImageTag { None("val1"), USD("val2"), EURO("val3");}
given a string which represent a "value" (say `"val"1)
"value"
how can I convert it to the corresponding enum?
Aucun commentaire:
Enregistrer un commentaire