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.6 date: 2021/11/26 13:55:59
user: cg
file: ReadOnlySequenceableCollection.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


Abstract class which blocks some write access operations.

See concrete subclasses (such as Interval).

copyright

COPYRIGHT (c) 2001 by eXept Software AG 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.

Class protocol:

queries
o  isAbstract
Return if this class is an abstract class.
True is returned here for myself only; false for subclasses.
Abstract subclasses must redefine this again.


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