ABCDFGHIJKLMNOP
1
SMALLTALK (ANSI 1.9 12/97)
JAVA
OBJECTIVE-C
DYLANEIFFELC++ (MFC)SATHER
2
classmethodclassmethodclassmethodclassmethodclassmethodclassmethodclassmethod
3
TYPE IDENTIFICATION
4
Obtaining Metadata ObjectsObjectclassObjectgetClassObject"+class, -class"objectobject-classGENERALgenerating_typeCObjectGetRuntimeClass
5
superObject"+superclass, -superclass"GENERALgenerator
6
IntrospectionObjectrespondsToObject"-respondsTo, +instanceRespondTo"
7
Object"-conformsTo, +conformsTo"
8
Object
"-descriptionForMethod, +descriptionForInstanceMethod"
9
GENERALis_expanded_type
10
GENERALis_basic_expanded_type
11
Type TestingObjectisKindOfinstanceOfObject"-isKindOf, -isKindOfClassNamed"GENERALconforms_toCObjectIsKindOf
12
ObjectisMemberOfObject"-isMemberOf, -isMemberOfClassNamed"objectinstance?GENERALsame_type
13
TautologiesObjectyourselfObject"-self"objectidentity
14
OBJECT IDENTIFICATION
15
ComparisonObject"= Object"Objectequals (Object)Object"-isEqual"object" = (equality)""GENERAL
equal, is_equal, standard_equal, standard_is_equal
16
GENERAL
deep_equal, is_deep_equal, standard_deep_equal
17
Unique IdentifiersObjecthashObjecthashCodeObject"-hash"objectobject-hash
18
ObjectidentityHashGENERALobject_id
19
GENERALid_object (id)
20
Object sizeobjectsizeGENERALobject_size
21
ObjectisNil, notNilobjectempty?
22
EXTERNAL REPRESENTATION
23
For DisplayObjectprintStringObjecttoStringObject"+name, -name"GENERALtagged_outCObjectDump
24
ObjectprintOnObject"-printForDebugger"GENERALprint_on
25
GENERALprint
26
GENERALout
27
GENERALout_in_tagged_memory
28
GENERALtagged_out_memory
29
GENERALfill_tagged_out_memory
30
For Persistent StorageObject"-read, -write, -startArchiving, -finishUnarchiving"
IsSerializable, Serialize
31
LIFECYCLE CONTROL
32
Memory AllocationObject"+alloc, +allocFromZone"CObjectoperator new
33
Object"+new"
34
Object"-free, +free"CObjectoperator delete
35
Object AllocationObjectcopyCloneablecloneObject"-copy, -copyFromZone"objectshallow-copyGENERALcopy, standard_copyCObject
operator =, copy constructor
36
GENERALclone, standard_clone
37
GENERALtwin, standard_twin
38
GENERALdeep_clone
39
objecttype-for-copy
40
GENERALstripped
41
LIFECYCLE ENDPOINT BEHAVIOR
42
Object BirthObject"-init, +initialize"objectinitializedefault constructor
43
Object"-awake"
44
Object DeathObjectfinalize
45
Class AllocationObject"+finishLoading, +startUnloading"
46
DYNAMIC INVOCATION
47
Sending MessagesObjectperform, perform:withObject"-perform, -perform:with:with"
48
Object"+poseAs"
49
Object"-methodFor, +instanceMethodFor"
50
ObjectdoesNotUnderstandObject"-forward, -performv::"
51
Error controlObjecterrorObject"-error, -doesNotRecognize"GENERALdefault_rescue
52
Object"-notImplemented, -subclassResponsibility"GENERALnot_yet_implemented
53
INTERESTING ANOMALIES
54
VersioningObject"+setVersion, +version"
55
Returning Junk Factoriesobjectalways
56
Type Conversionobjectas
57
GENERAL
to_pointer (converts reference to a POINTER)
58
Nothing :)GENERALdo_nothing
59
Internal Validity CheckingCobjectAssertValid
60
Thread NotificationObjectnotify, notifyAll
61
Object
wait, wait (long), wait (long, int)
62
Common ConstantsGENERAL
LOTS of constants (pi, e, deg/radian, phi (golden ratio), control-characters
63
User StreamsGENERALstd_input
64
GENERALstd_output
65
GENERALstd_error
66
GENERALio
67
Filesystem callsGENERALfile_tools
68
GENERALfile_exists
69
GENERALremove_file
70
GENERALrename_file
71
Environment checksGENERALargument_count
72
GENERALargument (I)
73
GENERALcommand_arguments
74
GENERALget_environment_variable
75
Program lifecycleGENERALcrash
76
GENERALdie_with_code
77
GENERALtrace_switch
78
GENERALsystem
79
Default behaviorGENERALdefault
80
GENERALdefault_pointer
81