Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer Subject: Re: Help with Deck of cards assignment and getting it to deal... Date: Sun, 03 Aug 2014 18:09:40 -0400 Organization: A noiseless patient Spider Lines: 10 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 3 Aug 2014 22:09:44 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="b896cb427f8c4d19d14880347aa9d6ce"; logging-data="30040"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/zi5paFivIZn/NXlyQm3WAo4RMOpa2OMo=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.6.0 In-Reply-To: Cancel-Lock: sha1:IaFRsKkG99si6cIjaEn1OARn3ms= Xref: csiph.com comp.lang.java.programmer:29544 On 08/03/2014 05:05 PM, Eric Sosman wrote: > Your challenge, then, should you choose to accept it: Write a > compareTo() method for which AAA77.compareTo(KKKJJ) returns a > value that is simultaneously positive and negative. Maybe when > quantum computing comes of age ... Noone have asked for any simultaneously positive and negative value. Since you've thrown out the "total order" term (somewhere in these threads) I'll throw "predicate" in there.