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.1.0.0; WebServer 1.663 at exept.de:8081; Mon, 19 Nov 2018 00:42:34 GMT