COMPLEJIDAD TOSTRING

    @Override                                                                   //O(n)
    public String toString( )                                                   //T=2+3+1+2+3+E(3+4+2)+1 = 12+9n = n
    {
        String msj ="";                                                         //2
        NodoP<T> c = ((NodoP<T>)super.getInicio());                             //3
        NodoP<T> x = c;                                                         //1
        x = x.getSig();                                                         //2
        while(x!=((NodoP<T>)super.getInicio())){                                //3+E(3)
            msj += x.toString()+"->";                                           //4
            x = x.getSig();                                                     //2
        }
        return msj;                                                             //1
    }
T= 12+9n

T=n

O(n)