GnuSmalltalkUsersGuide:BaseChapter 088

From 흡혈양파의 번역工房
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
IdentitySet

IdentitySet

네임스페이스 Smalltalk에 정의됨

슈퍼클래스: Set

범주: 컬렉션-비정렬


나는 일반적인 집합(set) 객체다; 나는 어떤 객체든 특유의 방식으로 보관할 수 있다. 나는 객체의 중복을 알아내기 위해 == 연산자를 이용한다.


IdentitySet: 검사하기

identityIncludes: anObject

우리가 anObject 객체를 포함하는지 응답하라; IdentitySets의 경우 이는 #includes: 와 동일하다.


Notes