public void add(Signature s) { NodoSignature n = new NodoSignature(s, null, null); if (isEmpty()) { begin = end = n; } else { begin.setBefore(n); n.setNext(begin); begin = n; } }
public void add(Signature s) { NodoSignature n = new NodoSignature(s, null, null); if (isEmpty()) { begin = n; } else { begin.setBefore(n); n.setNext(begin); begin = n; } Debug.Log("ADDED"); ordenar(); }