OrderedSet.st
branchjv
changeset 25397 c63508b2bbe0
parent 21219 31ce02101bb7
equal deleted inserted replaced
25396:d6cc2bdc7773 25397:c63508b2bbe0
     1 "
     1 "
     2  COPYRIGHT (c) 2001 by eXept Software AG
     2  COPYRIGHT (c) 2001 by eXept Software AG
       
     3  COPYRIGHT (c) 2020 LabWare
     3               All Rights Reserved
     4               All Rights Reserved
     4 
     5 
     5  This software is furnished under a license and may be used
     6  This software is furnished under a license and may be used
     6  only in accordance with the terms of that license and with the
     7  only in accordance with the terms of that license and with the
     7  inclusion of the above copyright notice.   This software may not
     8  inclusion of the above copyright notice.   This software may not
    23 !OrderedSet class methodsFor:'documentation'!
    24 !OrderedSet class methodsFor:'documentation'!
    24 
    25 
    25 copyright
    26 copyright
    26 "
    27 "
    27  COPYRIGHT (c) 2001 by eXept Software AG
    28  COPYRIGHT (c) 2001 by eXept Software AG
       
    29  COPYRIGHT (c) 2020 LabWare
    28               All Rights Reserved
    30               All Rights Reserved
    29 
    31 
    30  This software is furnished under a license and may be used
    32  This software is furnished under a license and may be used
    31  only in accordance with the terms of that license and with the
    33  only in accordance with the terms of that license and with the
    32  inclusion of the above copyright notice.   This software may not
    34  inclusion of the above copyright notice.   This software may not
   422 
   424 
   423 indexOf:anObject
   425 indexOf:anObject
   424     ^ order indexOf:anObject.
   426     ^ order indexOf:anObject.
   425 ! !
   427 ! !
   426 
   428 
       
   429 !OrderedSet methodsFor:'sorting & reordering'!
       
   430 
       
   431 sort:aSortBlock
       
   432     "Destructively sort my order.
       
   433      WARNING: this is a destructive operation, which modifies the receiver"
       
   434 
       
   435     order sort:aSortBlock
       
   436 ! !
       
   437 
   427 !OrderedSet class methodsFor:'documentation'!
   438 !OrderedSet class methodsFor:'documentation'!
   428 
   439 
   429 version
   440 version
   430     ^ '$Header$'
   441     ^ '$Header$'
   431 !
   442 !
   432 
   443 
   433 version_CVS
   444 version_CVS
   434     ^ '$Header$'
   445     ^ '$Header$'
   435 ! !
   446 !
   436 
   447 
       
   448 version_HG
       
   449 
       
   450     ^ '$Changeset: <not expanded> $'
       
   451 ! !
       
   452