public void addAll ( Vertex vtx ) { if ( head == null ) { head = vtx ; } else { tail . next = vtx ; } vtx . prev = tail ; while ( vtx . next != null ) { vtx = vtx . next ; } tail = vtx ; }
Adds a chain of vertices to the end of this list .