Package de.hybris.platform.core
Class LazyLoadItemList.BufferedPage<T>
java.lang.Object
de.hybris.platform.core.LazyLoadItemList.BufferedPage<T>
- Enclosing class:
- LazyLoadItemList<E>
Thread safe (hopefully) abstraction for paged result objects list with information at which index this page
starts. Also has functionality of checking if given global index 'is in scope' of current
LazyLoadItemList.BufferedPage.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisBufferValid(int globalposition) Returns true if givenglobalposiotioncould be retrieved for the current page.booleanisEmpty()protected intsize()toString()
-
Constructor Details
-
BufferedPage
-
-
Method Details
-
size
protected int size() -
isEmpty
public boolean isEmpty() -
isBufferValid
protected boolean isBufferValid(int globalposition) Returns true if givenglobalposiotioncould be retrieved for the current page. This is fullilled if the page is not null and globalposition is in relative range of current page. -
toString
-