public interface ListAccess<E>
E[] load(int index, int length) throws Exception, IllegalArgumentException
Retrieves an array of object from the list. The returned array size is expected to be equals to the length argument.
The index value and the lenght value cannot be negative, and the sum of the index and the length cannot be greater than the list size. Those values are considered as non correct.
index
- the indexlength
- the limitException
- any exception that would prevent access to the listIllegalArgumentException
- if the index value or the length value are not correctCopyright © 2003-2018 eXo Platform SAS. All Rights Reserved.