Would it help to #put EMPTY_RESULTSET here and wait to create the new HashSet until actually needed by a non-null resultSet?