commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [LANG] 3.0 StrTokenizer API change for next()
Date Sun, 15 Mar 2009 16:36:09 GMT
On 15/03/2009, sebb <sebbaz@gmail.com> wrote:
> StrTokenizer implements ListIterator currently.
>
>  Given that it only deals in Strings, it could implement
>  ListIterator<String>, however that would mean changing
>
>  public Object next()
>
>  to
>
>  public String next()
>

Oops I forgot about previous().
Also add() and set(), which throw UnsupportedOperationException.

>  Any objections to implementing the above?
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message