update abstract method

void update(
  1. T newState
)

Implementation

void update(T newState);