[
https://issues.apache.org/jira/browse/COLLECTIONS-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergio Bossa updated COLLECTIONS-270:
-------------------------------------
Attachment: BackedListTest.java
DataAccessStrategy.java
BackedList.java
Here are BackedList sources and tests.
Tests need JUnit 3.8.1+ and JMock 1.1.
> Proposal for a new List implementation: BackedList
> --------------------------------------------------
>
> Key: COLLECTIONS-270
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-270
> Project: Commons Collections
> Issue Type: New Feature
> Components: List
> Affects Versions: 3.2
> Reporter: Sergio Bossa
> Attachments: BackedList.java, BackedListTest.java,
> DataAccessStrategy.java
>
>
> Here is a new List implementation named BackedList, to use for transparently
> accessing values of a generic data source as it were a normal List.
> This List implementation dynamically accesses data source values through a
> proper strategy object, keeping in memory only a limited, configurable,
> buffer of values.
> So, it is useful for:
> 1) Providing a List-like view of different data source values.
> 2) Avoiding to pre-load all values in a standard list, providing better
> performances and less memory consumption.
> As a side note, this list implementation is already used in production for
> implementing pagination over a relational data source.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.