private void getFlowsHelper ( final ArrayList < ExecutableFlow > flows , final Collection < Pair < ExecutionReference , ExecutableFlow > > collection ) { collection . stream ( ) . forEach ( ref -> flows . add ( ref . getSecond ( ) ) ) ; }
Helper method to get all flows from collection .