- Index
- »
- fan.haystack
- »
- HisItem
HisItem
@Js
const class HisItem : Obj, Dict
HisItem is a timestamp/value pair.
Construct timestamp/value pair
Value at the timestamp
Timestamp of the history record
Ordering is based on timestamp
Equality is based on timestamp and value
Hash code is based on timestamp and value
virtual Int compare(Obj that)
Ordering is based on timestamp.
virtual Void each(|Obj,Str| f)
virtual Obj? eachWhile(|Obj,Str->Obj?| f)
virtual Bool equals(Obj? that)
Equality is based on timestamp and value.
@Operator
virtual Obj? get(Str name)
virtual Bool has(Str name)
virtual Int hash()
Hash code is based on timestamp and value.
virtual Bool isEmpty()
new make(DateTime ts, Obj? val)
Construct timestamp/value pair.
virtual This map(|Obj,Str->Obj| f)
virtual Bool missing(Str name)
virtual Obj? trap(Str name, Obj?[]? args)
const DateTime : ts
Timestamp of the history record.
const Obj? : val
Value at the timestamp.