正在加载图片...
Parameterized Types u Without Template, we have to implement multiple BTNode classes with different names and data types For those insertion, deletion and traversing ops, their mechanism won't change when node data type changes thus are type- independent? a We extract the "type-dependent"parts and parameterize themParameterized Types ◼ Without Template, we have to implement multiple BTNode classes with different names and data types ◼ For those insertion, deletion and traversing ops, their mechanism won’t change when node data type changes, thus are “type￾independent” ◼ We extract the “type-dependent” parts and parameterize them
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有