T
- stored typepublic final class PagedBuilder<T> extends Object
Constructor and Description |
---|
PagedBuilder(int pagesize)
Construct.
|
Modifier and Type | Method and Description |
---|---|
long |
add(T item)
Add an item.
|
ImmutableList<ImmutableList<T>> |
build()
Build immutable representation.
|
public PagedBuilder(int pagesize)
pagesize
- Page sizepublic long add(T item)
item
- Item to addpublic ImmutableList<ImmutableList<T>> build()