Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
method
The implementation of an operation. It specifies the algorithm or procedure that produces the results of an operation.
See also concrete, operation, realization, resolution.
Semantics
A method is an implementation of an operation. If an operation is not abstract, it must have a method or trigger a state machine transition, either defined on the class with the operation or inherited from an ancestor. A method is specified as a procedural expression, a linguistic string in a designated language (such as C++, Smalltalk, or a human language) that describes an algorithm. The language must be matched to the purpose, of course. A human language, for instance, may be adequate for early analysis but not suitable for code generation.
An operation ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access