Change Unidirectional Association to Bidirectional

 

You have two classes that need to use each other’s features, but there is only a one-way link.

Add back pointers, and change modifiers to update both sets.

posted @ 2007-05-15 16:45  南守拥  阅读(268)  评论(0编辑  收藏  举报