Class FlatRStarTreeNode

    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Serial version
        See Also:
        Constant Field Values
    • Constructor Detail

      • FlatRStarTreeNode

        public FlatRStarTreeNode()
        Empty constructor for Externalizable interface.
      • FlatRStarTreeNode

        public FlatRStarTreeNode​(int capacity,
                                 boolean isLeaf)
        Creates a new FlatRStarTreeNode with the specified parameters.
        Parameters:
        capacity - the capacity (maximum number of entries plus 1 for overflow) of this node
        isLeaf - indicates whether this node is a leaf node
    • Method Detail

      • deleteEntry

        public boolean deleteEntry​(int index)
        Deletes the entry at the specified index and shifts all entries after the index to left.
        Overrides:
        deleteEntry in class AbstractNode<SpatialEntry>
        Parameters:
        index - the index at which the entry is to be deleted
        Returns:
        true id deletion was successful
      • increaseEntries

        public final void increaseEntries​(int newsize)
        Increases the length of the entries array to entries.length + 1.
        Parameters:
        newsize - New size