i am trying to find a way to populate an array or some other data structure like the EnumSet with multiple object from that enum class. For example i have an enum class what contains for values like MONDAY, TUESDAY, WEDNESDAY, THURSDAY. What i want to do it to find a way to populate the data structure with the those values multiple times.
Array or Enumset with [MONDAY, MONDAY, MONDAY, MONDAY, TUESDAY, TUESDAY, TUESDAY .....]
I have use the EnumSet already but i've been only able to fill it with each one of them.
ArrayList.