commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anton Tagunov <atagu...@mail.cnt.ru>
Subject Re: [lang] indexOf not first or last
Date Mon, 08 Sep 2003 10:21:51 GMT
Hello Stephen!

SC> From: "Phil Steitz" <phil@steitz.com>
>> Gary Gregory wrote:
>> 1. Yes, the name sucks, but nothing nice jumps out at me. Of the
>> alternatives that you have listed, I like "indexOfOccurrence" the best.
>> Another one to consider might be "ordinalIndexOf".

SC> I think I prefer nthIndexOf, but indexOfOccurance may also be OK.

nIndexOf was so short to type and easy to remember, ugly, but
laboriolus duck..

Anton


Mime
View raw message