Class ListAccessImpl<E>

java.lang.Object
org.exoplatform.commons.utils.ListAccessImpl<E>
All Implemented Interfaces:
Serializable, org.exoplatform.commons.utils.ListAccess<E>

public class ListAccessImpl<E> extends Object implements org.exoplatform.commons.utils.ListAccess<E>, Serializable
See Also:
  • Constructor Details

    • ListAccessImpl

      public ListAccessImpl(Class<E> elementType, List<E> list)
  • Method Details

    • load

      public E[] load(int index, int length) throws Exception
      Specified by:
      load in interface org.exoplatform.commons.utils.ListAccess<E>
      Throws:
      Exception
    • getSize

      public int getSize() throws Exception
      Specified by:
      getSize in interface org.exoplatform.commons.utils.ListAccess<E>
      Throws:
      Exception