Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Originally posted by David Dickinson:
I've started reading about the comparable interface and since this will be the first interface i've ever implemented im having a bit of a play with the functionality.
I like the idea of implementing comparable within the existing class but am slightly confused as to how this would compare two objects?
Would ObjectA.Compare(ObjectA,ObjectB) do the job?
Also why should I overide equals? If I don't override it will it never return a 0 from the compare method?
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
My pie came with a little toothpic holding up this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|