K
- The type for the KeyV
- The type for the stored valuepublic class BorrowedFromRightResult<K,V> extends AbstractBorrowedFromSiblingResult<K,V>
AbstractBorrowedFromSiblingResult.SiblingPosition
position
Constructor and Description |
---|
BorrowedFromRightResult(List<Page<K,V>> copiedPages,
Page<K,V> modifiedPage,
Page<K,V> modifiedSibling,
Tuple<K,V> removedElement)
A constructor for BorrowedFromRightResult which takes a list of copied pages.
|
BorrowedFromRightResult(Page<K,V> modifiedPage,
Page<K,V> modifiedSibling,
Tuple<K,V> removedElement)
The default constructor for BorrowedFromRightResult.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
getModifiedSibling, isFromLeft, isFromRight
getModifiedPage, getRemovedElement, setModifiedPage
addCopiedPage, getCopiedPages
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getModifiedPage, getRemovedElement
addCopiedPage, getCopiedPages
public BorrowedFromRightResult(Page<K,V> modifiedPage, Page<K,V> modifiedSibling, Tuple<K,V> removedElement)
modifiedPage
- The modified pagemodifiedSibling
- The modified siblingremovedElement
- The removed element (can be null if the key wasn't present in the tree)public BorrowedFromRightResult(List<Page<K,V>> copiedPages, Page<K,V> modifiedPage, Page<K,V> modifiedSibling, Tuple<K,V> removedElement)
copiedPages
- the list of copied pagesmodifiedPage
- The modified pagemodifiedSibling
- The modified siblingremovedElement
- The removed element (can be null if the key wasn't present in the tree)public String toString()
toString
in class AbstractBorrowedFromSiblingResult<K,V>
Object.toString()
Copyright © 2012-2013 Apache Mavibot Project Parent. All Rights Reserved.