Collection.st
changeset 14996 d0c96a4314bd
parent 14991 92336b82bdb1
child 15030 2f43f5ad8505
child 18043 03660093fe98
equal deleted inserted replaced
14995:3ac27883699a 14996:d0c96a4314bd
  1543 asLongIntegerArray
  1543 asLongIntegerArray
  1544     "return a new LongIntegerArray with the collections elements
  1544     "return a new LongIntegerArray with the collections elements
  1545      (which must convert to 64bit integers in the range 0..16rFFFFFFFFFFFFFFFF)."
  1545      (which must convert to 64bit integers in the range 0..16rFFFFFFFFFFFFFFFF)."
  1546 
  1546 
  1547     ^ self asIntegerArray:LongIntegerArray
  1547     ^ self asIntegerArray:LongIntegerArray
       
  1548 !
       
  1549 
       
  1550 asNewArray
       
  1551     "return a new Array with the receiver collections elements"
       
  1552 
       
  1553     ^ self asArray
       
  1554 !
       
  1555 
       
  1556 asNewDictionary
       
  1557     "return a new Dictionary with the receiver collections elements"
       
  1558 
       
  1559     ^ self asDictionary
       
  1560 !
       
  1561 
       
  1562 asNewIdentitySet
       
  1563     "return a new IdentitySet with the receiver collections elements"
       
  1564 
       
  1565     ^ self asIdentitySet
       
  1566 !
       
  1567 
       
  1568 asNewOrderedCollection
       
  1569     "return a new OrderedCollection with the receiver collections elements"
       
  1570 
       
  1571     ^ self asOrderedCollection
       
  1572 !
       
  1573 
       
  1574 asNewSet
       
  1575     "return a new Set with the receiver collections elements"
       
  1576 
       
  1577     ^ self asSet
  1548 !
  1578 !
  1549 
  1579 
  1550 asOrderedCollection
  1580 asOrderedCollection
  1551     "return a new OrderedCollection with the receiver collections elements"
  1581     "return a new OrderedCollection with the receiver collections elements"
  1552 
  1582 
  4666 ! !
  4696 ! !
  4667 
  4697 
  4668 !Collection class methodsFor:'documentation'!
  4698 !Collection class methodsFor:'documentation'!
  4669 
  4699 
  4670 version
  4700 version
  4671     ^ '$Header: /cvs/stx/stx/libbasic/Collection.st,v 1.296 2013-03-28 15:55:44 stefan Exp $'
  4701     ^ '$Header: /cvs/stx/stx/libbasic/Collection.st,v 1.297 2013-03-28 23:14:55 stefan Exp $'
  4672 !
  4702 !
  4673 
  4703 
  4674 version_CVS
  4704 version_CVS
  4675     ^ '$Header: /cvs/stx/stx/libbasic/Collection.st,v 1.296 2013-03-28 15:55:44 stefan Exp $'
  4705     ^ '$Header: /cvs/stx/stx/libbasic/Collection.st,v 1.297 2013-03-28 23:14:55 stefan Exp $'
  4676 ! !
  4706 ! !
  4677 
  4707 
  4678 
  4708 
  4679 Collection initialize!
  4709 Collection initialize!