public void adicionaAresta(Aresta <T> a)
        {
            NodoAresta <T> nodo_a = new NodoAresta <T>(a, getCabeca());

            setCabeca(nodo_a);
            tamanho++;
        }
        public void adicionaAresta(int u, int v)
        {
            Aresta <T> a = new Aresta <T>(GetVertice(u), GetVertice(v));

            adj[u].adicionaAresta(a);
            if (!dirigido)
            {
                a = new Aresta <T>(GetVertice(v), GetVertice(u));
            }
            this.nArestas++;
        }
 public NodoAresta(Aresta <T> aresta, NodoAresta <T> prox)
 {
     this.aresta = aresta;
     this.prox   = prox;
 }
 public void setAresta(Aresta <T> a)
 {
     this.aresta = a;
 }
 public NodoAresta(Aresta <T> a)
 {
 }