| |
Objects and Messages | p. 5 |
Classes and Instances | p. 8 |
An Example Application | p. 10 |
System Classes | p. 13 |
Summary of Terminology | p. 16 |
Expression Syntax | p. 17 |
Literals | p. 19 |
Variables | p. 21 |
Messages | p. 24 |
Blocks | p. 31 |
Summary of Terminology | p. 37 |
Classes and Instances | p. 39 |
Protocol Descriptions | p. 41 |
Implementation Descriptions | p. 43 |
Variable Declarations | p. 44 |
Methods | p. 48 |
Primitive Methods | p. 52 |
Summary of Terminology | p. 53 |
Subclasses | p. 55 |
Subclass Descriptions | p. 58 |
An Example Subclass | p. 59 |
Method Determination | p. 61 |
Abstract Superclasses | p. 66 |
Subclass Framework Messages | p. 72 |
Summary of Terminology | p. 73 |
Metaclasses | p. 75 |
Initialization of Instances | p. 77 |
An Example Metaclass | p. 78 |
Metaclass Inheritance | p. 81 |
Initialization of Class Variables | p. 84 |
Summary of Method Determination | p. 88 |
Summary of Terminology | p. 89 |
Part 2 | |
Protocol for all Objects | p. 93 |
Testing the Functionality of an Object | p. 95 |
Comparing Objects | p. 96 |
Copying Objects | p. 97 |
Accessing the Parts of an Object | p. 99 |
Printing and Storing Objects | p. 100 |
Error Handling | p. 102 |
Linear Measures | p. 105 |
Class Magnitude | p. 107 |
Class Date | p. 108 |
Class Time | p. 111 |
Class Character | p. 114 |
Numerical Classes | p. 117 |
Protocol of the Number Classes | p. 120 |
Classes Float and Fraction | p. 126 |
Integer Classes | p. 127 |
Class Random: A Random Number Generator | p. 129 |
Protocol for All Collection Classes | p. 131 |
Adding, Removing, and Testing Elements | p. 134 |
Enumerating Elements | p. 136 |
Instance Creation | p. 139 |
Conversion Among Collection Classes | p. 140 |
Hierarchy of the Collection Classes | p. 143 |
Class Bag | p. 147 |
Class Set | p. 148 |
Classes Dictionary and IdentityDictionary | p. 148 |
Class SequenceableCollection | p. 153 |
Subclasses of SequenceableCollection | p. 157 |
Class ArrayedCollection | p. 165 |
Class MappedCollection | p. 168 |
Summary of Conversions Among Collections | p. 169 |
Three Examples that Use Collections | p. 171 |
Random Selection and Playing Cards | p. 172 |
The Drunken Cockroach Problem | p. 181 |
Traversing Binary Trees | p. 185 |
Protocol for Streams | p. 193 |
Class Stream | p. 195 |
Positionable Streams | p. 198 |
Streams for Generated Elements | p. 204 |
Streams for Collections Without External Keys | p. 205 |
External Streams and File Streams | p. 208 |
Implementations of the Basic Collection Protocol | p. 211 |
Class Collection | p. 212 |
Subclasses of Collection | p. 219 |
Kernel Support Classes | p. 235 |
Class UndefinedObject | p. 237 |
Classes Boolean, True, and False | p. 237 |
Additional Protocol for Class Object | p. 239 |
Multiple Independent Processes | p. 249 |
Processes | p. 251 |
Semaphores | p. 257 |
Class SharedQueue | p. 265 |
Class Delay | p. 266 |
Protocol for Classes | p. 267 |
Class Behavior | p. 272 |
Class ClassDescription | p. 284 |
Class Metaclass | p. 287 |
Class Class | p. 288 |
The Programming Interface | p. 291 |
Views | p. 292 |
Browsers | p. 297 |
Testing | p. 308 |
Error Reporting | p. 314 |
Implementation Classes | p. 327 |
The Graphics Kernel | p. 329 |
Graphical Representation | p. 331 |
Graphical Storage | p. 331 |
Graphical Manipulation | p. 333 |
Classes Form and WordArray | p. 338 |
Spatial Reference | p. 340 |
Class BitBit | p. 349 |
Line Drawing | p. 351 |
Text Display | p. 354 |
Simulation of BitBit | p. 355 |
Pens | p. 363 |
Class Pen | p. 365 |
Geometric Designs | p. 370 |
Commander Pen | p. 375 |
Display Objects | p. 381 |
Class DisplayObject | p. 383 |
Class DisplayMedium | p. 390 |
Forms | p. 396 |
Display Text | p. 400 |
Paths | p. 400 |
Image Manipulation with Forms | p. 405 |
Part 3 | |
The Implementation | p. 417 |
The Compiler | p. 418 |
The Interpreter | p. 426 |
The Object Memory | p. 440 |
The Hardware and Additional System Classes | p. 442 |
Probability Distributions | p. 443 |
Probability Distribution Framework | p. 444 |
Discrete Probability Distributions | p. 449 |
Continuous Probability Distributions | p. 458 |
Event-Driven Simulations | p. 465 |
A Framework for Simulations | p. 468 |
Implementation of the Simulation Classes | p. 478 |
Statistics Gathering in Event-Driven Simulations | p. 491 |
Duration Statistics | p. 492 |
Throughput Histograms | p. 495 |
Tallying Events | p. 500 |
Event Monitoring | p. 502 |
The Use of Resources in Event-Driven Simulations | p. 509 |
Implementing ResourceProvider and WaitingSimulationObject | p. 510 |
Consumable Resources | p. 515 |
Nonconsumable Resources | p. 518 |
Renewable Resources | p. 529 |
Coordinated Resources for Event-Driven Simulations | p. 541 |
The Implementation of Class ResourceCoordinator | p. 542 |
A Car Wash Simulation | p. 544 |
A Ferry Service for a Special Truck | p. 547 |
A Bank | p. 552 |
An Information System | p. 559 |
Subject Index | p. 565 |
System Index | p. 579 |
Example Class Index | p. 583 |
Table of Contents provided by Syndetics. All Rights Reserved. |