Interface State<STATE extends State<STATE>>

    • Method Detail

      • getStates

        STATE[] getStates()
        Gets all the available States.

        If used inside a 'State' enum, just implement this method using

         @Override
         public State[] getStates() {
                return State.values();
         }
         
        Returns:
        an array of States, as provided by an enum.