case class KeyBounds[+K](minKey: K, maxKey: K) extends Bounds[K] with Product with Serializable

Represents non-empty region of descrete space. Any key which is greater than or equal to minKey and less then or equal to maxKey in each individual dimension is part of the region described by these Bounds.

minKey

Minimum key of the region, inclusive.

maxKey

Maximum key of the region, inclusive.

Linear Supertypes
Bounds[K], Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KeyBounds
  2. Bounds
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KeyBounds(minKey: K, maxKey: K)

    minKey

    Minimum key of the region, inclusive.

    maxKey

    Maximum key of the region, inclusive.

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def combine[B >: K](other: Bounds[B])(implicit b: Boundable[B]): KeyBounds[B]

    Combine two regions by creating a region that covers both regions fully

    Combine two regions by creating a region that covers both regions fully

    Definition Classes
    KeyBoundsBounds
  7. def contains[B >: K](other: Bounds[B])(implicit b: Boundable[B]): Boolean

    Test if other bounds are fully contained by this bounds.

    Test if other bounds are fully contained by this bounds. EmptyBounds contain no other bounds but are contained by all non-empty bounds.

    Definition Classes
    KeyBoundsBounds
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def flatMap[B](f: (KeyBounds[K]) ⇒ Bounds[B]): Bounds[B]

    Returns the result of applying f to this Bounds minKey and maxKey if this it is nonempty.

    Returns the result of applying f to this Bounds minKey and maxKey if this it is nonempty. The minKey and maxKeys are given as instance of KeyBounds instead of a tuple. If this Bounds is EmptyBounds it is returned unchanged.

    Definition Classes
    Bounds
    Annotations
    @inline()
  11. def get: KeyBounds[K]

    Returns non-empty bounds or throws NoSuchElementException

    Returns non-empty bounds or throws NoSuchElementException

    Definition Classes
    KeyBoundsBounds
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getOrElse[B >: K](default: ⇒ KeyBounds[B]): KeyBounds[B]

    Returns non-empty bounds or the default value

    Returns non-empty bounds or the default value

    Definition Classes
    Bounds
  14. def include[B >: K](key: B)(implicit b: Boundable[B]): KeyBounds[B]

    Expand bounds to include the key or keep unchanged if it is already included

    Expand bounds to include the key or keep unchanged if it is already included

    Definition Classes
    KeyBoundsBounds
  15. def includes[B >: K](key: B)(implicit b: Boundable[B]): Boolean

    Test if the key is included in bounds

    Test if the key is included in bounds

    Definition Classes
    KeyBoundsBounds
  16. def intersect[B >: K](other: Bounds[B])(implicit b: Boundable[B]): Bounds[B]

    Returns the intersection, if any, between two bounds

    Returns the intersection, if any, between two bounds

    Definition Classes
    KeyBoundsBounds
  17. def intersects[B >: K](other: KeyBounds[B])(implicit b: Boundable[B]): Boolean

    Test if two bounds for intersection

    Test if two bounds for intersection

    Definition Classes
    Bounds
  18. def isEmpty: Boolean

    Returns true if this is EmptyBounds

    Returns true if this is EmptyBounds

    Definition Classes
    KeyBoundsBounds
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. val maxKey: K
  21. val minKey: K
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def nonEmpty: Boolean

    Returns false if this is EmptyBounds

    Returns false if this is EmptyBounds

    Definition Classes
    Bounds
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def rekey[B >: K](sourceLayout: LayoutDefinition, targetLayout: LayoutDefinition)(implicit arg0: SpatialComponent[B]): KeyBounds[B]
  27. def setSpatialBounds[B >: K](gridBounds: TileBounds)(implicit ev: SpatialComponent[B]): KeyBounds[B]
  28. def setSpatialBounds[B >: K](other: KeyBounds[SpatialKey])(implicit ev: SpatialComponent[B]): KeyBounds[B]

    Updates the spatial region of bounds to match that of the argument, leaving other dimensions, if any, unchanged.

    Updates the spatial region of bounds to match that of the argument, leaving other dimensions, if any, unchanged.

    Definition Classes
    KeyBoundsBounds
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toOption: Option[KeyBounds[K]]
    Definition Classes
    KeyBoundsBounds
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Bounds[K]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped