Help


from Wikipedia
« »  
All class relationships are between client classes and supplier classes.
A client class is obliged to make calls to supplier features where the resulting state of the supplier is not violated by the client call.
Subsequently, the supplier is obliged to provide a return state and data that does not violate the state requirements of the client.
For instance, a supplier data buffer may require that data is present in the buffer when a delete feature is called.
Subsequently, the supplier guarantees to the client that when a delete feature finishes its work, the data item will, indeed, be deleted from the buffer.
Other design contracts are concepts of " class invariant ".
The class invariant guarantees ( for the local class ) that the state of the class will be maintained within specified tolerances at the end of each feature execution.

2.206 seconds.