Class ItemBoundable

  • All Implemented Interfaces:
    java.io.Serializable, Boundable

    public class ItemBoundable
    extends java.lang.Object
    implements Boundable, java.io.Serializable
    Boundable wrapper for a non-Boundable spatial object. Used internally by AbstractSTRtree.
    Version:
    1.7
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ItemBoundable​(java.lang.Object bounds, java.lang.Object item)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getBounds()
      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.
      java.lang.Object getItem()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ItemBoundable

        public ItemBoundable​(java.lang.Object bounds,
                             java.lang.Object item)
    • Method Detail

      • getBounds

        public java.lang.Object getBounds()
        Description copied from interface: Boundable
        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.
        Specified by:
        getBounds in interface Boundable
        Returns:
        an Envelope (for STRtrees), an Interval (for SIRtrees), or other object (for other subclasses of AbstractSTRtree)
      • getItem

        public java.lang.Object getItem()