Right right. Sigh - one of the changes I had to make when porting GeoTools to Android was to swap hints out for a Map.