List < ReceiveCommand > function ( Iterable < ReceiveCommand > arg0 , Result arg1 ) { List < ReceiveCommand > loc0 ; if ( arg0 instanceof Collection ) loc0 = new ArrayList < > ( ( ( Collection < ? > ) arg0 ) . size ( ) ) ; else loc0 = new ArrayList < > ( ) ; for ( ReceiveCommand loc1 : arg0 ) { if ( loc1 . getResult ( ) == arg1 ) loc0 . add ( loc1 ) ; } return loc0 ; }
filter a collection of commands according to result . concode_field_sep Ref ref concode_elem_sep Result status concode_elem_sep ObjectId newId concode_elem_sep boolean typeIsCorrect concode_elem_sep String name concode_elem_sep ObjectId oldId concode_elem_sep Type type concode_elem_sep String message concode_field_sep ObjectId getOldId concode_elem_sep void setResult concode_elem_sep void setResult concode_elem_sep void setResult concode_elem_sep String getRefName concode_elem_sep String getMessage concode_elem_sep void setType concode_elem_sep void execute concode_elem_sep void setRef concode_elem_sep void abort concode_elem_sep Type getType concode_elem_sep Ref getRef concode_elem_sep void reject concode_elem_sep Result getResult concode_elem_sep String toString concode_elem_sep void setTypeFastForwardUpdate concode_elem_sep ObjectId getNewId concode_elem_sep void updateType