Back: UndefinedObject-testing Up: Base classes Forward: UnicodeCharacter class-built ins   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

1.197 UnicodeCharacter

Defined in namespace Smalltalk
Superclass: Character
Category: Language-Data types
My instances represent the over one million characters of the Unicode character set. It provides messages to translate between integers and character objects.

UnicodeCharacter objects are created when accessing UnicodeStrings, or with Character class>>#codePoint:.

1.197.1 UnicodeCharacter class: built ins  (class)
1.197.2 UnicodeCharacter: coercion methods  (instance)


1.197.1 UnicodeCharacter class: built ins

value: anInteger
Returns the character object, possibly a Character, corresponding to anInteger. Error if anInteger is not an integer, or not in 0..16r10FFFF.

This is only a primitive for speed. UnicodeCharacter's #value: method is equivalent to #codePoint: (which is the same for Character and UnicodeCharacter).


1.197.2 UnicodeCharacter: coercion methods

* aNumber
Returns a String with aNumber occurrences of the receiver.



Back: UnicodeCharacter class-built ins Up: UnicodeCharacter Forward: UnicodeString   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on February, 22 2012 using texi2html