For example:
public enum Day {
MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY,SATURDAY,SUNDAY;
}
Given the Enums MONDAY, WEDNESDAY, SATURDAY, I could get the List or Set in which the elements are ["monday", "wednesday", "saturday"]. Any methods in Java? Or any other Util classes?
Java 8
Pre-Java 8