[Isolate-interest] Isolate equals(), hashCode(), toString()
Doug Lea
dl at cs.oswego.edu
Sat May 21 02:42:37 EDT 2005
Curt Cox wrote:
>In Isolate:
>
>equals - this appears to be the definition of equals from Object. If not,
>some clarification is needed. If so, why is this needed?
>
>hashCode - same comments as equals.
>
>
This is just a interaction with the javadoc tool (which is used of
course to build API specs).
The notion here is that these methods must intrinsically be overridden in
class Isolate, but they still obey class Object specs.
>toString - Is the intent to say that "Two Isolates that are not equivalent
>will always return StringS that are not equivalent. Two Isolates that are
>equivalent may return the same or different StringS."? Whatever the intent,
>it should be expressed intuitively, as well as rigorously.
>
>
I'm not sure what part of this you don't like? Could you send sample
replacement
wording?
Thanks for the comments; keep them coming!
-Doug
More information about the Isolate-interest
mailing list