internal override Int32 ClassifyObject(DataSetObject obj, int availableHeight) { if (availableHeight == 1) { return(DecisionResult); } availableHeight--; if (_decision.Invoke(obj)) { return(_rightChild.ClassifyObject(obj, availableHeight)); } return(_leftChild.ClassifyObject(obj, availableHeight)); }
internal override Int32 ClassifyObject(DataSetObject obj, Int32 availableHeight) => DecisionResult;
internal abstract int ClassifyObject(DataSetObject obj, int availableHeight);
public Int32 ClassifyObject(DataSetObject obj, int maxHeight) => _head.ClassifyObject(obj, maxHeight);