Recent Posts

composition vs. aggregation

1 minute read

UML 다이어그램에서 특히 집합 관계를 표시할 때, 헷갈리는 용어이다. ‘A가 B에 속해있다.’ 혹은 ‘B는 A를 포함한다’의 개념을 표현하고자 할 때 사용하는 표기인데, 어떤 경우에 이 관계는 composition 또는 aggregation이라고 말할 수 있는 것일까? 이에 ...

how to go about ~ing vs. how to ~

less than 1 minute read

~하는 것에 대해 자세히 하나씩 알려주다. Q) Please tell me how to use it. A) 매뉴얼 읽어봐 Q) Please tell me how to go about using it. A) 우선, 어찌어찌하고, 그 다음은 어떻게 한 다음에, 이렇게 저렇게 해봐.

nothing close to : ~와 거리가 먼

less than 1 minute read

What I have seen was nothing close to being civilized. 내가 본 것은 성숙된 것과는 거리가 멀었다.

FindBugs - EQ_COMPARETO_USE_OBJECT_EQUALS 해결

less than 1 minute read

사용자가 compareTo()를 override 했을 경우, 볼 수 있는 warning이다. FindBugs의 code inspection에 따르면, This class defines a compareTo(...) method but inherits its equals(...