There will always be people who are ahead of the curve, and people who are behind the curve. But knowledge moves the curve. --Bill James
[My Blog]
All roads lead to JavaRanch
Originally posted by chandan venkatesh:
This is one of the solutions as given by you. I'm not able to get the second solution you have given Us
Manuel Leiria<br /> <br />--------------<br />Peace cannot be kept by force; it can only be achieved by understanding. <br /> Albert Einstein
Originally posted by chandan venkatesh:
Manuel Leiria : what the hell?
i just wanted to compile the code given above, i just googled, got a solution , write whatever logic you want to write in compareTo method, i just gave a example.
If you understood the second one, you can say or if you can suggest something new do it.. don't ridicule what you can't do one of these.This is what i know , right or wrong , i said my things , if its wrong correct it don't comment about it
Manuel Leiria<br /> <br />--------------<br />Peace cannot be kept by force; it can only be achieved by understanding. <br /> Albert Einstein
Originally posted by chandan venkatesh:
Manuel Leiria: why don't you do that instead of defending yourself .
If you can't do that.. you know what to do..
if you don't know what to do ask me i'll tell you.
Manuel Leiria<br /> <br />--------------<br />Peace cannot be kept by force; it can only be achieved by understanding. <br /> Albert Einstein
Originally posted by Campbell Ritchie:
Take it easy, please.
Even if somebody has misunderstood the Comparable interface, there are ways and ways of pointing this out. I take your point about not "mean[ing] to offend" but remember this is a website. You are not face to face and you need to be careful about what you post.
Even if think you have been told off rudely about a mistake, please don't overreact.
Remember the policy here on the Ranch: Be Nice.![]()
Manuel Leiria<br /> <br />--------------<br />Peace cannot be kept by force; it can only be achieved by understanding. <br /> Albert Einstein
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |