I was wondering if it is possible to have a Set member added as a member variable of a class, the object of which can then be put as a value into a Map.
My idea is to use HashSet<T> projects
as a member variable for my employee class. But, I would like to have a query performed on a database that will return query results as a Map> item where int will be the employeeId and Set will be the projects. is it doable at all?