public static StateObj state ( StateObj ... states ) { MutableStateObj mutable = mutable ( ) ; for ( StateObj state : states ) { mutable . updateState ( state ) ; } return state ( mutable . getState ( ) ) ; }
merge multiple state objects in order