commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <ggreg...@seagullsw.com>
Subject [lang] StringUtils.differenceAt()
Date Thu, 21 Aug 2003 06:01:10 GMT
Hello,

We have new 2.0 method called differenceAt() but I believe it is not named
correctly. Methods with "At" usually receive an index argument, like
String.charAt(). This method /returns/ an index.

I think indexOfDifference() would be better and in the same vein as
String.indexOf().

Gary 
(fyi, off to bed if there is any voting goin' on)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message