You can make a tuple class (for 2 elements). As described here: link
With this class you even have the calculation of the hash taking into account the two objects. Modify it for your reality, if necessary.
For this case it would look like this:
Map<Integer, Tuple<Tratamento,Thread>> objs = new HashMap<Integer, Tuple<Tratamento,Thread>>();
You will probably have to have some kind of object that stores keys that have not yet been closed.
If more than one thread goes to access HashMap, then you will need to use a thread-safe version, called ConcurrentHashMap.
Update - Usage example
Below is an example of how to use it. Note that I used Integer, String instead of Treatment and Thread.
HashMap<Integer, Tuple<Integer,String>> objs = new HashMap<Integer, Tuple<Integer, String>>();
objs.put(10,new Tuple<Integer, String>(150,"ABC"));
objs.put(11,new Tuple<Integer, String>(300,"DEF"));
Tuple<Integer,String> tuple = objs.get(10);
System.out.println(tuple.x);
System.out.println(tuple.y);
tuple = objs.get(11);
System.out.println(tuple.x);
System.out.println(tuple.y);
If you want, simply change the attributes of the class Tuple from x and y to Treatment and Thread. However, your class will no longer be generic. If you need it only for this part of your code, swap for clarity.