clear method

VertexList clear()

Implementation

VertexList clear() {
  head = tail = null;

  return this;
}