@SuppressWarnings("unchecked") public List<String> destinationOf(String nodeName) { Collection<Integer> nodeIDSet = _graph.getDestNodeIDSetOf(_graph.getNodeID(nodeName)); return CollectionUtil.collect( nodeIDSet, new Functor<Integer, String>() { public String apply(Integer nodeID) { return _graph.getNodeLabel(nodeID); } }); }