When you do things right, people won't be sure you've done anything at all.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
When you do things right, people won't be sure you've done anything at all.
When you do things right, people won't be sure you've done anything at all.
When you do things right, people won't be sure you've done anything at all.
When you do things right, people won't be sure you've done anything at all.
When you do things right, people won't be sure you've done anything at all.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
as an instance declaration.... I don't really know why I used TreeMap instead of anything else.... or why it needed sorted map on the left and treemap on the right.......
When you do things right, people won't be sure you've done anything at all.
When you do things right, people won't be sure you've done anything at all.
Campbell Ritchie wrote:Oh, TreeMap? I thought you would use LinkedHashMap.
Campbell Ritchie wrote:I have since yesterday realised that there is a much more object-oriented way of updating the count than put(score, get(score) + 1). See if you can work it out.
When you do things right, people won't be sure you've done anything at all.
But here's my new question:
Howcome (and I'm sure there's good reason) I couldn't just make my OWN class implement the implementation for the interface:
John de Michele wrote:
Why do all that extra work if you don't need to? Do you expect to reuse your Student class? What would writing an implementation get you that using a TreeMap doesn't?
When you do things right, people won't be sure you've done anything at all.
When you do things right, people won't be sure you've done anything at all.
When you do things right, people won't be sure you've done anything at all.
When you do things right, people won't be sure you've done anything at all.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
When you do things right, people won't be sure you've done anything at all.
Consider Paul's rocket mass heater. |