LinearGraphController (@NotNull SortType sortType) { if (sortType == SortType.Normal) { return new BaseController(this); } else if (sortType == SortType.LinearBek) { return new LinearBekController(new BekBaseController(this, myBekIntMap.get()), this); } return new BekBaseController(this, myBekIntMap.get()); }