/** * Create a Set with task names to compare with a queried set of task handles. Used with * taskHandlesToNameSet() */ protected Set<String> taskHandleListToNameSet(List<TaskHandle> handles) { Set<String> taskNames = new HashSet<String>(); for (TaskHandle handle : handles) { taskNames.add(handle.getName()); } return taskNames; }