summaryrefslogtreecommitdiff
path: root/test/files/run/hashCodeBoxesRunTime.scala
Commit message (Collapse)AuthorAgeFilesLines
* Unique's seeming victory is overruled by commit...Paul Phillips2010-02-041-1/+1
| | | | | | Unique's seeming victory is overruled by committee. It is "distinct", not "unique", wherein lies the nub. No review.
* Striking while the iron is hot, renamed removeD...Paul Phillips2010-02-031-1/+1
| | | | | | | | | Striking while the iron is hot, renamed removeDuplicates to unique and deprecated removeDuplicates. The debate between distinct and unique was vigorous but unique won by a freckle. (Dark horse 'nub' was disqualified for taking performance enhancers.) The only thing which might need review is the choice of name, but review by odersky.
* Breaks down the hash function in BoxesRunTime b...Paul Phillips2009-11-091-0/+28
Breaks down the hash function in BoxesRunTime by type so we can do as much as possible at compile time. Documents various trouble points I've identified with trying to get the hashCodes aligned. Test case exercises the hashCode functions. Deleted all the code associated with previous equality adventures. Don't worry, I can put anything back if it turns out we have to change course again, but for now it's noise. Also, gives return types to the box and unbox methods which are added to the primitive companions, so e.g. Int.box(5) now returns a j.l.Integer instead of an Object.