eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'WeakOrderedCollection':

Home

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

Class: WeakOrderedCollection


Inheritance:

   Object
   |
   +--Collection
      |
      +--SequenceableCollection
         |
         +--OrderedCollection
            |
            +--WeakOrderedCollection

Package:
stx:libbasic2
Category:
Collections-Sequenceable
Version:
rev: 1.1 date: 2018/07/30 10:13:57
user: cg
file: WeakOrderedCollection.st directory: libbasic2
module: stx stc-classLibrary: libbasic2

Description:


This is an OrderedCollection with weak references to its element.
Elements may vanish and are silently replaced by nil, if the
referred to element looses its last non-weak reference.
The logical size of the instance or the element slots are not
affected - thus, when an element is lost.
So be prepared to get nil when accessing/enumerating.


Instance protocol:

private
o  containerClass
(comment from inherited method)
the class of the underlying container.
Here Array; redefined in WeakOrderedCollection to use a WeakArray



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 19 Apr 2024 18:27:26 GMT