eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ReadOnlySequenceableCollection':

Home

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

Class: ReadOnlySequenceableCollection


Inheritance:

   Object
   |
   +--Collection
      |
      +--SequenceableCollection
         |
         +--ReadOnlySequenceableCollection
            |
            +--GeometricSeries
            |
            +--Interval

Package:
stx:libbasic
Category:
Collections-Abstract
Version:
rev: 1.4 date: 2005/06/27 10:24:03
user: cg
file: ReadOnlySequenceableCollection.st directory: libbasic
module: stx stc-classLibrary: libbasic
Author:
Claus Gittinger

Description:


Abstract class which blocks some write access operations.

See concrete subclasses (such as Interval).


Related information:

    SequenceableCollection

Class protocol:

queries
o  isAbstract


Instance protocol:

blocked access
o  add: newObject
catch add message - cannot add elements

usage example(s):

     (1 to:10) add:11   
     (1 to:10) addAll:#(11 12)   
     (1 to:10) remove:9    
     (1 to:10) remove:9 ifAbsent:nil   
     (1 to:10) removeAll:#(1 4)
     (1 to:10) atAllPut:1

o  at: index put: anObject
catch at:put: message - cannot store elements

usage example(s):

     (1 to:10) at:5 put:10   
     (1 to:10) atAllPut:5   
     (1 to:10) replaceFrom:1 to:4 with:#(10 20 30 40)  

o  remove: anObject ifAbsent: exceptionalValue
catch remove message - cannot remove elements

usage example(s):

     (1 to:10) remove:9 ifAbsent:nil  



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 26 May 2022 10:16:39 GMT