K - The type for the KeyV - The type for the stored valueabstract class AbstractResult<K,V> extends java.lang.Object implements Result<Page<K,V>>
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<Page<K,V>> |
copiedPage
The list of copied page reference
|
| Constructor and Description |
|---|
AbstractResult()
The default constructor for AbstractResult.
|
AbstractResult(java.util.List<Page<K,V>> copiedPages)
Creates an instance of AbstractResult with an initialized list of copied pages.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCopiedPage(Page<K,V> page)
Add a new copied page
|
java.util.List<Page<K,V>> |
getCopiedPages() |
java.lang.String |
toString() |
public AbstractResult()
public java.util.List<Page<K,V>> getCopiedPages()
getCopiedPages in interface Result<Page<K,V>>public void addCopiedPage(Page<K,V> page)
addCopiedPage in interface Result<Page<K,V>>page - the added pagepublic java.lang.String toString()
toString in class java.lang.Object