K
- The type for the KeyV
- The type for the stored valuepublic abstract class AbstractDeleteResult<K,V> extends AbstractResult<K,V> implements DeleteResult<K,V>
Constructor and Description |
---|
AbstractDeleteResult(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() |
void |
setModifiedPage(Page<K,V> modifiedPage) |
addCopiedPage, getCopiedPages, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addCopiedPage, getCopiedPages
public AbstractDeleteResult(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)public AbstractDeleteResult(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>
Copyright © 2012-2013 Apache Mavibot Project Parent. All Rights Reserved.