private void getActiveFlowHelper(final ArrayList<ExecutableFlow> flows,
      final Collection<Pair<ExecutionReference, ExecutableFlow>> collection) {
    for (final Pair<ExecutionReference, ExecutableFlow> ref : collection) {
      flows.add(ref.getSecond());
    }
  }
private void getActiveFlowHelper ( final ArrayList < ExecutableFlow > flows , final Collection < Pair < ExecutionReference , ExecutableFlow > > collection ) { for ( final Pair < ExecutionReference , ExecutableFlow > ref : collection ) { flows . add ( ref . getSecond ( ) ) ; } }
/*
Helper method to get all running flows from a Pair<ExecutionReference,
ExecutableFlow collection