Skip to Content
0
Former Member
Jan 21, 2007 at 12:55 PM

ICollection.getChildren() with pagination

17 Views

Hello all

I'm developing an applicattion and have a lot of resources in a collection. I need to list them and to do that I use the ICollection.getChildren(). Now it all works fine, but I'm a bit worried of the performance in the future because the number of resources is planned to grow and grow.

Is there any way to obtain a limited number of children within a Collection?. For example, from 1 to 20, from 21 to 40, etc...

If not, what are the alternatives to implement this correctly? Am I wrong thinking that using ICollection.getChildren() on a Collection that has 1000 resources is going to be slow or consume a lot of unnecessary memory?

Thanks in advance.