commented Pool(T) class