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.193 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.193.1 UnicodeCharacter class: built ins  (class)


1.193.1 UnicodeCharacter class: built ins

method
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).



Back: UnicodeCharacter 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 May, 22 2008 using texi2html