Code example for Set

Methods: isEmpty

0
				"No outgoing transition found for task " + task.getName()); 
		} 
 
		Set<Assignment> assignments = task.getAssignments(); 
 
		if ((assignments == null) || assignments.isEmpty()) { 
			throw new WorkflowException( 
				"No assignments for task " + task.getName()); 
		} 
	} 
 
}