public ICollection <TV> neighborsOf(TV vertex) { ICollection <TV> o = delegator.outgoing <TV> (vertex); ICollection <TV> i = delegator.incoming <TV> (vertex); return(new HashSet <TV> (o.Union(i))); }