M
- the type of the messages stored@SPI
public interface Page<M>
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<M> |
contents()
Obtains the messages of this page.
|
java.util.Optional<Page<M>> |
next()
Obtains the next page.
|
int |
size()
Obtains the size of this page.
|
com.google.common.collect.ImmutableList<M> contents()
int size()