Set.st
changeset 5557 f5f8d236027c
parent 5471 a57eeb01c5ab
child 5568 826390eef742
equal deleted inserted replaced
5556:1056cc5d6ce0 5557:f5f8d236027c
   864 	    newKeyArray basicAt:(self findNil:elem) put:elem
   864 	    newKeyArray basicAt:(self findNil:elem) put:elem
   865 	].
   865 	].
   866     ].
   866     ].
   867 ! !
   867 ! !
   868 
   868 
       
   869 !Set methodsFor:'queries'!
       
   870 
       
   871 size
       
   872     "return the number of set elements"
       
   873 
       
   874     ^ tally
       
   875 ! !
   869 
   876 
   870 !Set methodsFor:'set operations'!
   877 !Set methodsFor:'set operations'!
   871 
   878 
   872 - aCollection
   879 - aCollection
   873     "return a new set containing all elements of the receiver, which are
   880     "return a new set containing all elements of the receiver, which are
   962 
   969 
   963 
   970 
   964 
   971 
   965 
   972 
   966 
   973 
   967 !
       
   968 
       
   969 size
       
   970     "return the number of set elements"
       
   971 
       
   972     ^ tally
       
   973 ! !
   974 ! !
   974 
   975 
   975 !Set::EmptySlot class methodsFor:'instance creation'!
   976 !Set::EmptySlot class methodsFor:'instance creation'!
   976 
   977 
   977 basicNew
   978 basicNew
   983 ! !
   984 ! !
   984 
   985 
   985 !Set class methodsFor:'documentation'!
   986 !Set class methodsFor:'documentation'!
   986 
   987 
   987 version
   988 version
   988     ^ '$Header: /cvs/stx/stx/libbasic/Set.st,v 1.64 2000-07-18 09:03:39 stefan Exp $'
   989     ^ '$Header: /cvs/stx/stx/libbasic/Set.st,v 1.65 2000-08-22 13:57:23 cg Exp $'
   989 ! !
   990 ! !
   990 Set initialize!
   991 Set initialize!