List<Integer> () { BekBranchCreator bekBranchCreator = new BekBranchCreator(myPermanentGraph, myGraphLayout); Pair<List<BekBranch>, BekEdgeRestrictions> branches = bekBranchCreator.getResult(); BekBranchMerger bekBranchMerger = new BekBranchMerger(branches.first, branches.second, myTimestampGetter); return bekBranchMerger.getResult(); }