Edges<T extends Object> typedef
Function returning an Iterable<T>
representing edge vertices.
- If
vertex
has no neighbours the function must return an empty iterable. - The function must never return
null
.
Implementation
typedef Edges<T extends Object> = Iterable<T> Function(T vertex);