eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Dolphin::SharedSet':

Home

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

Class: SharedSet (in Dolphin)


Inheritance:

   Object
   |
   +--Collection
      |
      +--Dolphin::SharedSet
         |
         +--Dolphin::SharedIdentitySet

Package:
stx:libcompat
Category:
Compatibility-Dolphin
Version:
rev: 1.5 date: 2013/06/25 11:24:01
user: cg
file: Dolphin__SharedSet.st directory: libcompat
module: stx stc-classLibrary: libcompat

Class protocol:

instance creation
o  new


Instance protocol:

adding & removing
o  add: anObject

o  remove: anElement ifAbsent: exceptionBlock
(comment from inherited method)
search for the first element, which is equal to anObject;
if found, remove and return it.
If not found, return the value of the exceptionBlock.
Uses equality compare (=) to search for the occurrence.
An error is raised here - it is to be implemented by a concrete subclass.

enumeration
o  do: aBlock

queries
o  includes: anObject

o  isFixedSize
return true if the receiver cannot grow

o  size

setup
o  initialize
(comment from inherited method)
just to ignore initialize to objects which do not need it

o  initializeSet



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 23 Apr 2024 14:41:57 GMT