Documentation of 'org.neodatis.btree.impl.AbstractBTree' Java class
AbstractBTree
org.neodatis.btree.impl

Class AbstractBTree

    • Constructor Detail

      • AbstractBTree

        public AbstractBTree()
      • AbstractBTree

        public AbstractBTree(java.lang.String name,
                             int degree,
                             IBTreePersister persister)
    • Method Detail

      • delete

        public java.lang.Object delete(java.lang.Comparable key,
                                       java.lang.Object value)
        TODO Manage collision
        Specified by:
        delete in interface IBTree
      • getDegree

        public int getDegree()
        Specified by:
        getDegree in interface IBTree
      • insert

        public void insert(java.lang.Comparable key,
                           java.lang.Object value)
        Specified by:
        insert in interface IBTree
      • split

        public void split(IBTreeNode parent,
                          IBTreeNode node2Split,
                          int childIndex)
         1 take median element
         2 insert the median in the parent  (shifting necessary elements)
         3 create a new node with right part elements (moving keys and values and children)
         4 set this new node as a child of parent
         
        Specified by:
        split in interface IBTree
      • getSize

        public long getSize()
        Specified by:
        getSize in interface IBTree
      • getHeight

        public int getHeight()
        Specified by:
        getHeight in interface IBTree
      • getName

        public java.lang.String getName()
      • clear

        public void clear()
        Specified by:
        clear in interface IBTree

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.