execute abstract method

T execute(
  1. T state
)

Executes the command and returns the new state.

Implementation

T execute(T state);