code: public List<Integer> getComponentTasks(String componentId) {
          List<Integer> ret = _componentToTasks.get(componentId);
          if (ret == null)
              return new ArrayList<>();
          else
              return new ArrayList<>(ret);
      }
docs: Gets the task ids allocated for the given component id. The task ids are always returned in ascending order.