method to return the next vertex object in the iteration overrides the default next method of iterator class concode_field_sep int numNodes concode_elem_sep List<Edge> edges concode_elem_sep Iterator<Vertex> it concode_elem_sep List<Vertex> verts concode_field_sep Iterator<Vertex> iterator concode_elem_sep Graph readGraph concode_elem_sep boolean hasNext concode_elem_sep void addEdge concode_elem_sep void addDirectedEdge concode_elem_sep void addDirectedEdge concode_elem_sep void remove
Vertex function ( ) { return it . next ( ) ; }