5 references to BalanceFactor
System.Collections.Immutable (5)
System\Collections\Immutable\ImmutableList_1.Node.cs (5)
1354
private bool IsRightHeavy => this.
BalanceFactor
>= 2;
1362
private bool IsLeftHeavy => this.
BalanceFactor
<= -2;
1370
private bool IsBalanced => unchecked((uint)(this.
BalanceFactor
+ 1)) <= 2;
1387
return _left!.
BalanceFactor
> 0 ? this.DoubleRight() : this.RotateRight();
1399
return _right!.
BalanceFactor
< 0 ? this.DoubleLeft() : this.RotateLeft();