will myers wrote:...price the same instrument (not necessarily the same object) at the
same time so it should calculate once and then return the result to
both threads...
To manipulate the "same instrument" appropriately in multiple threads,
calculating only once, for example, following threads must identify the
"sameness" of the instrument. You can uniquely tag objects that are
"meaningfully equal" with a version of the equals() method.
Jim ...
...