eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'IdentityBag':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: IdentityBag


Inheritance:

   Object
   |
   +--Collection
      |
      +--Bag
         |
         +--IdentityBag

Package:
stx:libbasic2
Category:
Collections-Unordered
Version:
rev: 1.1 date: 2013/08/23 00:21:51
user: cg
file: IdentityBag.st directory: libbasic2
module: stx stc-classLibrary: libbasic2
Author:
Claus Gittinger

Description:


Like a Bag, but does identity compares (i.e. same as super identityNew).
For Squeak compatibility.


Related information:

    Set
    IdentitySet
    Dictionary
    IdentityDictionary
    OrderedCollection
    Array

Class protocol:

instance creation
o  contentsClass
the default class to use for the underlying contents array,
used when instantiated with new/new:

o  new: size
return a new empty Bag with initial space for size elements.
Elements will be compared using identity compare (i.e. #== not #= equality).



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Tue, 20 Nov 2018 15:45:21 GMT