COMPLEJIDAD DECOLAR

//O(1)
    public T deColar(){                                                         //T=1+MAX(1,0)++3+3+2+1+1+3+2 = 17
        if(this.esVacia())                                                      //1
            return (null);                                                      //1
        NodoD<T> x=this.inicio.getSig();                                        //3
        this.inicio.setSig(x.getSig());                                     //3
        x.getSig().setAnt(inicio);                                          //2
        x.setSig(null);                                                     //1
        x.setAnt(null);                                                     //1
        this.tamanio--;                                                         //3
        return(x.getInfo());                                                    //2
    }

 

T=17

O(1)