a static factory to create a stateupdater based on an initial value of the state and astate update function . concode_field_sep PlaceHolder placeHolder concode_field_sep S init concode_elem_sep S apply
StateUpdater < T , S > function ( S arg0 , BiFunction < ? super S , ? super T , ? extends S > arg1 ) { return new StateUpdater < T , S > ( ) { @ Override public S init ( ) { return arg0 ; } @ Override public S apply ( S arg2 , T arg3 ) { return arg1 . apply ( arg2 , arg3 ) ; } } ; }