caching:ex3
This is an old revision of the document!
Caching: Invalidate (part I)
Task: Pass tests.Invalidation1
.
While caching in this way does save computation, it will lead to incorrect bounding boxes if a Group
is ever moved. Write another aspect that invalidates (i.e. clears) the cache whenever the move()
method of Group
is called.
Employ an additional
before
advice.
A correct implementation will pass the tests of suite tests.Invalidation1
.
Remove the invalidation aspect from the build path and continue with Exercise 3.
caching/ex3.1172511459.txt.gz · Last modified: 2007/02/26 18:37 by bdefrain