Programmer's Reference
In addition to the protocols supported by CLDT collection classes, several
of the collection classes have unique protocols that are not shared with any
other class.
multiBecome:
- Note:
- This message is not in the Blue Book but has been included in CLDT in order
to provide an efficient means of mutating multiple objects.
- Porting tip:
- The multiBecome: message is not supported in Smalltalk/V or
Objectworks\Smalltalk.
add:withOccurrences:
increment
from:to:, from:to:by:
add:after:, add:afterIndex:,
add:before:, add:beforeIndex:,
addAll:after:,
addAll:afterIndex:,
addAll:before:,
addAll:beforeIndex:, addAllFirst:,
addAllLast:, addFirst:,
addLast:
- Porting tip:
- The add:afterIndex:,
add:beforeIndex:,
addAll:afterIndex:, and
addAll:beforeIndex: messages are not supported in
Smalltalk/V or Objectworks\Smalltalk.
sortBlock, sortBlock:
sortBlock:
addLineDelimiters, asDBString, asSBString,
bindWith:, bindWith:with:,
bindWith:with:with:,
bindWith:with:with:with:,
bindWithArguments:, trimBlanks,
trimSeparators
- Note:
- These String and DBStringmessages are not in the Blue
Book. They have been added to IBM Smalltalk based on feedback from
developers.
- Porting tip:
- The only one of these String and DBString messages that
is supported by Smalltalk/V is trimBlanks. Smalltalk/V also
provides asInteger and asFloat which are similar to
asNumber. Objectworks\Smalltalk supports only
asNumber, byteAt:, and
byteAt:put:. Objectworks\Smalltalk
counts Null (ASCII 0) as a separator in trimSeparators, but IBM
Smalltalk and Smalltalk/V do not.
argumentCount
- Note:
- This method is not in the Blue Book, but is needed to extract the number of
expected arguments from a selector.
- Porting tip:
- In Objectworks\Smalltalk this method is called
numArgs. It is not included in the Smalltalk/V image.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]