test

来源:互联网 发布:云计算宣传片 编辑:程序博客网 时间:2024/05/21 22:55

1.

public class EntitiesRelation  {  Entity o1;  Entity o2;  } 


2.

public class ProductWithCategory  {  Entity product;  Entity category;  }  

3.

string addressCity;  string addressHomeNumber;  string addressPostCode;  


4.
class Address  {  string city;  string homeNumber;  string postCode;  }  

5.

BTree_Search(node, key) {    if(node == null) return null;    foreach(node.key)    {        if(node.key[i] == key) return node.data[i];            if(node.key[i] > key) return BTree_Search(point[i]->node);    }    return BTree_Search(point[i+1]->node);}data = BTree_Search(root, my_key);


原创粉丝点击