Method ADT.Interval()->cast()

class ADT.Interval

Method cast

(int)ADT.Interval()
(float)ADT.Interval()
(string)ADT.Interval()
(array)ADT.Interval()
(mapping)ADT.Interval()
(multiset)ADT.Interval()

Description

Cast to "array" to obtain ({ start, stop }). The result contains endpoint values only; open/closed information is not preserved.