commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark A Fortner <phidia...@yahoo.com>
Subject Re: [collection] some support for size-limited List ?
Date Mon, 12 Feb 2007 15:40:27 GMT
Did you try the FixedSizeList?

Mark

----- Original Message ----
From: nicolas de loof <nicolas.deloof@gmail.com>
To: commons-user@jakarta.apache.org
Sent: Monday, February 12, 2007 5:11:49 AM
Subject: [collection] some support for size-limited List ?

Hello,

I'm looking for a List implementation that would countains at most N
elements. When more that N elements are added, the List is truncated. This
looks like a Last-Recently-Used eviction feature, but I didn't finf support
for such a List in commons-collections.

Any suggestion ?

Nico.





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