commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <ggreg...@seagullsw.com>
Subject RE: [lang] StringUtils.differenceAt()
Date Thu, 21 Aug 2003 22:14:25 GMT
Committed to CVS.

Gary

> -----Original Message-----
> From: Henri Yandell [mailto:bayard@generationjava.com]
> Sent: Thursday, August 21, 2003 10:52
> To: Jakarta Commons Developers List
> Subject: RE: [lang] StringUtils.differenceAt()
> 
> 
> I'm +1 to your suggested change. Makes sense.
> 
> Hen
> 
> On Thu, 21 Aug 2003, Gary Gregory wrote:
> 
> > Any opinions on changing differenceAt() to indexOfDifference() ?
> >
> > Gary
> >
> > > -----Original Message-----
> > > From: Gary Gregory [mailto:ggregory@seagullsw.com]
> > > Sent: Wednesday, August 20, 2003 23:01
> > > To: 'Jakarta Commons Developers List'
> > > Subject: [lang] StringUtils.differenceAt()
> > >
> > > 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)
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org

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