Timeline for Finding the array indices of three specific headers
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 8, 2016 at 6:35 | comment | added | Antot |
You can always create this enum without changing/breaking the existing class. Or even use a Map<String, Integer> , but enum is obviously better for this case.
|
|
Dec 8, 2016 at 3:16 | comment | added | Manh Le |
Thank you for your suggestion. But in my case Constant is Class, which contain common value (not only column name), not an Enum . So, how to improve the code?
|
|
Dec 7, 2016 at 11:27 | history | edited | Antot | CC BY-SA 3.0 |
p.s.
|
Dec 7, 2016 at 11:11 | history | answered | Antot | CC BY-SA 3.0 |