TreeSet floor() method in java