Class AbstractPagedArray.Page<E>
java.lang.Object
org.hibernate.internal.util.collections.AbstractPagedArray.Page<E>
- Enclosing class:
- AbstractPagedArray<E>
Represents a page of
AbstractPagedArray.PAGE_CAPACITY
objects in the overall array.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Page
public Page()
-
-
Method Details
-
clear
public void clear()Clears the contents of the page. -
set
Set the provided element at the specified offset.- Parameters:
offset
- the offset in the page where to set the elementelement
- the element to set- Returns:
- the previous element at
offset
if one existed, ornull
-
get
Get the element at the specified offset.- Parameters:
offset
- the offset in the page where to set the element- Returns:
- the element at
index
if one existed, ornull
-