コード例 #1
0
 // 在边集E中插入新边e,并返回其位置
 public Position insert(Edge e) {
   return E.insertLast(e);
 }
コード例 #2
0
 // 在顶点集V中插入新顶点v,并返回其位置
 public Position insert(Vertex v) {
   return V.insertLast(v);
 }