clone the state and perform the action with the provided index . returns the new state and the action . concode_field_sep List<ClusterInstance> instances concode_elem_sep Set<ClusterAction> pendingActions concode_elem_sep Predicate<ClusterInstance> HAS_TIMEOUTS concode_field_sep boolean isDeadEnd concode_elem_sep ClusterInstance instance concode_elem_sep void addPendingActions concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep Iterator<Pair<ClusterAction,ClusterState>> transitions concode_elem_sep ClusterState snapshot concode_elem_sep boolean accept concode_elem_sep Pair<ClusterAction,ClusterState> performNextTimeoutFrom
ClusterState function ( ClusterAction arg0 ) { ClusterState loc0 = snapshot ( ) ; loc0 . pendingActions . remove ( arg0 ) ; Iterable < ClusterAction > loc1 = arg0 . perform ( loc0 ) ; loc0 . pendingActions . addAll ( asCollection ( loc1 ) ) ; return loc0 ; }