Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit4.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!53ab2750!not-for-mail From: "Roedy Green" Subject: Re: SortedMap: getting value for largest key less or equal a given valu Message-ID: <501AC32D.55948.calajapr@time.synchro.net> X-Comment-To: markspace Newsgroups: comp.lang.java.programmer In-Reply-To: <501AC32B.55936.calajapr@time.synchro.net> References: <501AC32B.55936.calajapr@time.synchro.net> X-FTN-AREA: COMP.LANG.JAVA.PROGRAMMER X-FTN-MSGID: 1:261/38 88705730 X-FTN-REPLY: 1:261/38 1c6869cd Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.16a-Win32 NewsLink 1.98] Lines: 33 Date: Thu, 02 Aug 2012 19:12:02 GMT NNTP-Posting-Host: 69.21.70.65 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1343934722 69.21.70.65 (Thu, 02 Aug 2012 14:12:02 CDT) NNTP-Posting-Date: Thu, 02 Aug 2012 14:12:02 CDT Organization: tds.net Xref: csiph.com comp.lang.java.programmer:16987 To: markspace From: Roedy Green On Wed, 01 Aug 2012 14:48:20 -0700, markspace <-@.> wrote, quoted or indirectly quoted someone who said : >save the request on disc and go to lunch. Bertrand Russell "told" me about this years ago. You have to get away from your computer. He suggested even a week of "not" thinking about it for a toughie. Then when you revisit the problem, the answer will be right under your nose. I just think about the problem while walking. The details are cleared away so I have to think more abstractly. I ask myself , what could be failing that created those symptoms. I am not looking for particular code, just thinking about code that does some function. It is a different sort of thinking than trying to decide if a line of code is faulty. Of course Murphy's law says the most likely time for the answer to come to you is one second after hitting submit. -- Roedy Green Canadian Mind Products http://mindprod.com The greatest shortcoming of the human race is our inability to understand the exponential function. ~ Dr. Albert A. Bartlett (born: 1923-03-21 age: 89) http://www.youtube.com/watch?v=F-QA2rkpBSY --- BBBS/Li6 v4.10 Dada-1 * Origin: Prism bbs (1:261/38) --- Synchronet 3.16a-Win32 NewsLink 1.98 Time Warp of the Future BBS - telnet://time.synchro.net:24