This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi list, Merged from GNU classpath. Michel Mark said about it: Here is an implementation for hashcode and some documentation updates for BasicStroke. I couldn't find any documentation on the value of the hashcode, but this implementation is consistent with the equals() implementation. 2005-01-20 Mark Wielaard <mark@klomp.org> * java/awt/BasicStroke.java (hashCode): Implement. (equals): Document. This helps when BasicStrokes are stored in collections (as in the jcommon tests). Still missing is the createStrokedShape() method. Our own Graphics2D implementation doesn't need it since it knows cairo can more efficiently handle it atm. It would still be good to have a real implementation. But (as Sven suggested) it is probably better to wait till cairo stabilizes a bit so we can be sure to use the exect same algorithm.
Attachment:
awt.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |