public IEnumerable <TData> GetAllLeaves() { return(rootNode != null && Count > 0 ? rootNode.GetAllLeaves():new TData[0]); }