6263646566676869707172
for (Object unknown : unknownObjects) { if (unknown instanceof HD) { candidates.add(((HD) unknown)); } else if (unknown instanceof TOC) { TOC toc = (TOC) unknown; candidates.add(toc.getTOCHD().getHD()); } } return candidates; }