add method

void add(
  1. DatastoreBundle poiWayBundle
)

Adds the content of another DatastoreBundle to this one.

Implementation

void add(DatastoreBundle poiWayBundle) {
  pointOfInterests.addAll(poiWayBundle.pointOfInterests);
  ways.addAll(poiWayBundle.ways);
}