|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RealtimeListAccess<E>
The Realtime list access interface to provide more facility to list access for easier real-time access.
| Method Summary | |
|---|---|
int |
getNumberOfNewer(E e)
Gets the number of newer elements based on the provided element. |
int |
getNumberOfOlder(E e)
Gets the number of older elements based on the provided element. |
int |
getSize()
Overrides its parent interface to avoid checked-exception. |
E[] |
load(int index,
int limit)
Overrides its parent interface to avoid checked-exception. |
List<E> |
loadAsList(int index,
int limit)
Loads items as list instead of array as from load(int, int). |
List<E> |
loadNewer(E e,
int length)
Loads newer elements based on the provided element. |
List<E> |
loadOlder(E e,
int length)
Loads older elements based on the provided element. |
| Method Detail |
|---|
List<E> loadAsList(int index,
int limit)
load(int, int).
index - the indexlimit - the number to load
E[] load(int index,
int limit)
load in interface org.exoplatform.commons.utils.ListAccess<E>index - the indexlimit - the maximum of elements to return
int getSize()
getSize in interface org.exoplatform.commons.utils.ListAccess<E>
List<E> loadNewer(E e,
int length)
e - the based elementlength - number of newer elements to load
int getNumberOfNewer(E e)
e - the provided element
List<E> loadOlder(E e,
int length)
e - the based elementlength - number of older elements to load
int getNumberOfOlder(E e)
e - the provided element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||