Affine transforms - matrix algebra: equals

Pavel Safrata pavel.safrata at oracle.com
Tue Aug 21 10:34:33 PDT 2012


Hello again,
there are some requests for implementing Transform.equals(). Determining 
whether or not two transforms equal may indeed be useful. The question 
is: do we want to implement equals() and hashCode() and thereby break 
usage of (mutable) Transforms in hash-based collections? Or would some 
transformEquals(Transform) method do? I like neither of those options. I 
would probably do as much as possible to avoid implementing hashCode() 
for mutable objects but let me first hear some opinions on this..

Thanks,
Pavel


More information about the openjfx-dev mailing list