E
@Contract(value = " -> new"pure = true)i 
public static E[] values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:

     for(E c : E.values())
         System.out.println(c);
  

Returns:

an array containing the constants of this enum type, in the order they're declared