Class ADT.Interval()->Boundary

Inheritance graph
ADT.Interval.Boundary ADT.Interval.Closed ADT.Interval.Open

class ADT.Interval
class ADT.Interval.Boundary (< RangeType >)
Description

Base class for an endpoint. Use Open or Closed to specify whether the endpoint is included in an interval.

Parameter x

The endpoint value, also available as the public member x.

Boundary comparisons order endpoint values. An open boundary also compares less than and greater than the equal plain value, allowing it to exclude that value at either end of an interval.


Generic RangeType

__generic__ mixed RangeType = RangeType


Variable ux

int ADT.Interval.Boundary.ux

Description

Property alias for unix_time().

Note

Read only.


Variable x

RangeType ADT.Interval.Boundary.x


Method create

ADT.Interval.Boundary ADT.Interval.Boundary(RangeType x)