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.2 date: 2021/01/20 14:06:45
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.

copyright

COPYRIGHT (c) 2018 by Claus Gittinger All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 30 Dec 2024 17:04:03 GMT