You don't have to create an additional intermediate collection for addAll. That's all the point of this class : no adding data structures that will be garbage collected as soon as the database merge will have happened.