code: public boolean remove(int vertex) {
          EdgeSet<T> edges = vertexToEdges.remove(vertex);
          if (edges == null)
              return false;
          // Call the internal remove method to perform the remaining
          // removal logic.
          removeInternal(vertex, edges);
          return true;
      }
docs: {@inheritDoc}