개발방법론/모델링/Refactoring

Encapsulate Collection

아름프로 2003. 7. 29. 02:21

Encapsulate Collection



A method returns a collection.

Make it return a read-only view and provide add/remove methods.


For more information see page 208 of Refactoring





***** 아름다운프로님에 의해서 게시물 복사 + 카테고리변경되었습니다 (2003-12-18 17:27)