K
- The type for the KeyV
- The type for the stored valuepublic class BorrowedFromLeftResult<K,V> extends AbstractBorrowedFromSiblingResult<K,V>
AbstractBorrowedFromSiblingResult.SiblingPosition
position
Constructor and Description |
---|
BorrowedFromLeftResult(List<Page<K,V>> copiedPages,
Page<K,V> modifiedPage,
Page<K,V> modifiedSibling,
Tuple<K,V> removedElement)
A constructor for BorrowedFromLeftResult which takes a list of copied pages.
|
BorrowedFromLeftResult(Page<K,V> modifiedPage,
Page<K,V> modifiedSibling,
Tuple<K,V> removedElement)
The default constructor for BorrowedFromLeftResult.
|
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 BorrowedFromLeftResult(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 BorrowedFromLeftResult(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.