Since tasks are unique a set just as effective.
2005-11-06 Andrew Cagney <cagney@redhat.com> * ProcState.java: Use Proc.getTasks, use Collection.