NNTP-Posting-Date: Sat, 02 Apr 2011 05:07:13 -0500 From: Leif Roar Moldskred Subject: Re: Binary Search Newsgroups: comp.lang.java.programmer References: User-Agent: tin/1.9.6-20100522 ("Lochruan") (UNIX) (Linux/2.6.35-28-generic-pae (i686)) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: Date: Sat, 02 Apr 2011 05:07:14 -0500 Lines: 9 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-FuuKA44mgx2JpdTe4nrIIpGa1eedor2UaQYEg4/RuwlOCCApQqJJ5jJqT8k86KPSX0DN4jLkMI49nfV!7a7zLeo9QdfwSIbUZ4qiTOWYdRh3eh5vwmaAG0xr7aYOZtdbLS/nuC2IDzbRgUhBBuveNi02e7yD!9vtBPsLe X-Complaints-To: news-abuse@telenor.net X-DMCA-Complaints-To: news-abuse@telenor.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1644 Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.stben.net!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.telenor.com!news.telenor.com.POSTED!not-for-mail Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:2735 Lawrence D'Oliveiro wrote: > > So why isn’t there a single-argument overload of the put method to save you > the trouble? How would Java know which field or property you intend to use as the key? -- Leif Roar Moldskred