2006 12:57 PM
To: Jakarta Commons Developers List
Subject: Re: [collections] New methods
> ListUtils.forceSize(List list, int size)
> - trims list size to size if too large
> - adds extra nulls to the list if its too small
My original proposal was to have one method that trims if too
Developers List
Subject: Re: [collections] New methods
> ListUtils.forceSize(List list, int size)
> - trims list size to size if too large
> - adds extra nulls to the list if its too small
My original proposal was to have one method that trims if too large and
grows if too small.
So, perhaps
y, July 04, 2006 1:39 AM
To: Jakarta Commons Developers List
Subject: RE: [collections] New methods
Hi James & Stephen,
James Carman wrote on Monday, July 03, 2006 6:31 PM:
> You can't do a resize method because the code won't know
> which way you want
> to go with it. For
ethod, since the core
> API provides
> it.
>
> +1 on the obscurity of the merge() method. That doesn't
> sound like a common
> enough requirement to be on commons collections.
>
> -Original Message-
> From: Henri Yandell [mailto:[EMAIL PROTECTED]
> Se
arta Commons Developers List
Subject: Re: [collections] New methods
On 7/3/06, Stephen Colebourne <[EMAIL PROTECTED]> wrote:
> Some possible new methods for [collections]
>
> ListUtils.trimSize(List list, int size)
> - trims list size to size if too large
>
> ListUtils.forceSi
doesn't sound like a common
enough requirement to be on commons collections.
-Original Message-
From: Henri Yandell [mailto:[EMAIL PROTECTED]
Sent: Monday, July 03, 2006 12:13 PM
To: Jakarta Commons Developers List
Subject: Re: [collections] New methods
On 7/3/06, Stephen Colebourne
On 7/3/06, Stephen Colebourne <[EMAIL PROTECTED]> wrote:
Some possible new methods for [collections]
ListUtils.trimSize(List list, int size)
- trims list size to size if too large
ListUtils.forceSize(List list, int size)
- trims list size to size if too large
- adds extra nulls to the list if i