K - The type for the KeyV - The type for the stored valueabstract class AbstractDeleteResult<K,V> extends AbstractResult<K,V> implements DeleteResult<K,V>
| Modifier and Type | Field and Description |
|---|---|
private Page<K,V> |
modifiedPage
The modified page reference
|
private Tuple<K,V> |
removedElement
The removed element if the key was found in the tree
|
| Constructor and Description |
|---|
AbstractDeleteResult(java.util.List<Page<K,V>> copiedPages,
Page<K,V> modifiedPage,
Tuple<K,V> removedElement)
The default constructor for AbstractDeleteResult.
|
AbstractDeleteResult(Page<K,V> modifiedPage,
Tuple<K,V> removedElement)
The default constructor for AbstractDeleteResult.
|
| Modifier and Type | Method and Description |
|---|---|
Page<K,V> |
getModifiedPage() |
Tuple<K,V> |
getRemovedElement() |
(package private) void |
setModifiedPage(Page<K,V> modifiedPage) |
addCopiedPage, getCopiedPages, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddCopiedPage, getCopiedPagesAbstractDeleteResult(Page<K,V> modifiedPage, Tuple<K,V> removedElement)
modifiedPage - The modified pageremovedElement - The removed element (can be null if the key wasn't present in the tree)AbstractDeleteResult(java.util.List<Page<K,V>> copiedPages, Page<K,V> modifiedPage, Tuple<K,V> removedElement)
copiedPages - the list of copied pagesmodifiedPage - The modified pageremovedElement - The removed element (can be null if the key wasn't present in the tree)public Page<K,V> getModifiedPage()
getModifiedPage in interface DeleteResult<K,V>public Tuple<K,V> getRemovedElement()
getRemovedElement in interface DeleteResult<K,V>