InspectorMethod
Last edit September 20, 2004
A method that returns the current state of an object, but does not change it.
public int getFoo()
The opposite of
MutatorMethod
.
Other kinds of methods are
ConstructorMethod
,
FactoryMethod
,
DestructorMethod
.