SortedCollection.st
branchjv
changeset 17940 985e22966acb
parent 17938 e2aad1d7c317
child 17959 488b81fc486a
equal deleted inserted replaced
17939:9ea58e0aad5a 17940:985e22966acb
   761 copyEmpty:size
   761 copyEmpty:size
   762     "return a copy of the receiver with no elements, but
   762     "return a copy of the receiver with no elements, but
   763      the same size. This method has been be redefined to
   763      the same size. This method has been be redefined to
   764      preserve the sortBlock."
   764      preserve the sortBlock."
   765 
   765 
   766     ^ (self species new:size) sortBlock:sortBlock
   766     ^ (super copyEmpty:size) sortBlock:sortBlock
   767 !
   767 !
   768 
   768 
   769 postCopyFrom:anOriginal
   769 postCopyFrom:anOriginal
   770     "sent after a copy or when a new collection species has been created.
   770     "sent after a copy or when a new collection species has been created.
   771      The new collection should have the same sortBlock as the original."
   771      The new collection should have the same sortBlock as the original."
  1058 ! !
  1058 ! !
  1059 
  1059 
  1060 !SortedCollection class methodsFor:'documentation'!
  1060 !SortedCollection class methodsFor:'documentation'!
  1061 
  1061 
  1062 version
  1062 version
  1063     ^ '$Header: /cvs/stx/stx/libbasic/SortedCollection.st,v 1.70 2012/04/12 19:14:44 stefan Exp $'
  1063     ^ '$Header: /cvs/stx/stx/libbasic/SortedCollection.st,v 1.72 2012/04/21 17:38:20 stefan Exp $'
  1064 !
  1064 !
  1065 
  1065 
  1066 version_SVN
  1066 version_SVN
  1067     ^ '$Id: SortedCollection.st 10804 2012-04-13 13:18:13Z vranyj1 $'
  1067     ^ '$Id: SortedCollection.st 10807 2012-05-05 21:58:24Z vranyj1 $'
  1068 ! !
  1068 ! !
  1069 
  1069 
  1070 SortedCollection initialize!
  1070 SortedCollection initialize!
  1071 
  1071 
  1072 
  1072