use of forpdateam.ru.forpda.api.forum.models.ForumItemFlat in project ForPDA by RadiationX.
the class Forum method transformToList.
public void transformToList(List<ForumItemFlat> list, ForumItemTree rootForum) {
if (rootForum.getForums() == null)
return;
for (ForumItemTree item : rootForum.getForums()) {
list.add(new ForumItemFlat(item));
transformToList(list, item);
}
}
Aggregations