Packages

abstract class AbstractNode extends Boundable with Serializable

A node of an {link AbstractSTRtree}. A node is one of:

  • empty
  • an interior node containing child {link AbstractNode}s
  • a leaf node containing data items ({link ItemBoundable}s).

A node stores the bounds of its children, and its level within the index tree.

Annotations
@SerialVersionUID()
Version

1.7

Linear Supertypes
Serializable, Boundable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractNode
  2. Serializable
  3. Boundable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AbstractNode(level: Int = 0)

Abstract Value Members

  1. abstract def computeBounds: AnyRef

    Returns a representation of space that encloses this Boundable, preferably not much bigger than this Boundable's boundary yet fast to test for intersection with the bounds of other Boundables.

    Returns a representation of space that encloses this Boundable, preferably not much bigger than this Boundable's boundary yet fast to test for intersection with the bounds of other Boundables. The class of object returned depends on the subclass of AbstractSTRtree.

    return an Envelope (for STRtrees), an Interval (for SIRtrees), or other object (for other subclasses of AbstractSTRtree)

    Attributes
    protected
    See also

    AbstractSTRtree.IntersectsOp

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addChildBoundable(childBoundable: Boundable): Boolean

    Adds either an AbstractNode, or if this is a leaf node, a data object (wrapped in an ItemBoundable)

    Adds either an AbstractNode, or if this is a leaf node, a data object (wrapped in an ItemBoundable)

    childBoundable

    the child to add

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. def getBounds: AnyRef

    Gets the bounds of this node

    Gets the bounds of this node

    return the object representing bounds in this index

    Definition Classes
    AbstractNodeBoundable
  11. def getChildBoundables: ArrayList[Boundable]

    Returns either child {link AbstractNode}s, or if this is a leaf node, real data (wrapped in {link ItemBoundable}s).

    Returns either child {link AbstractNode}s, or if this is a leaf node, real data (wrapped in {link ItemBoundable}s).

    return a list of the children

  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getLevel: Int

    Returns 0 if this node is a leaf, 1 if a parent of a leaf, and so on; the root node will have the highest level

    Returns 0 if this node is a leaf, 1 if a parent of a leaf, and so on; the root node will have the highest level

    return the node level

  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def isEmpty: Boolean

    Tests whether there are any {link Boundable}s at this node.

    Tests whether there are any {link Boundable}s at this node.

    return true if there are boundables at this node

  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def size: Int

    Gets the count of the {link Boundable}s at this node.

    Gets the count of the {link Boundable}s at this node.

    return the count of boundables at this node

  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Boundable

Inherited from AnyRef

Inherited from Any

Ungrouped