clear method

void clear()

Clears all resources.

Implementation

void clear() {
  _resources.clear();
  _resourcesSorted.clear();
}