}
else
{
if (((avltree)this.right).balancefactor()<0)
this.rrrotation();
else
this.rlrotation();
}
}
}