Combine two regions by creating a region that covers both regions fully
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.
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.
Returns non-empty bounds or throws NoSuchElementException
Returns non-empty bounds or the default value
Returns non-empty bounds or the default value
Expand bounds to include the key or keep unchanged if it is already included
Test if the key is included in bounds
Returns the intersection, if any, between two bounds
Test if two bounds for intersection
Test if two bounds for intersection
Returns true if this is EmptyBounds
Returns true if this is EmptyBounds
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 maxKey are given as instance of KeyBounds instead of a tuple. If this Bounds is EmptyBounds it is returned unchanged.
Maximum key of the region, inclusive.
Minimum key of the region, inclusive.
Returns false if this is EmptyBounds
Returns false if this is EmptyBounds
Updates the spatial region of bounds to match that of the argument, leaving other dimensions, if any, unchanged.
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.
Minimum key of the region, inclusive.
Maximum key of the region, inclusive.