type

HisItem

@Js
const class HisItem : Obj, Dict

HisItem is a timestamp/value pair.

constructors

make

Construct timestamp/value pair.

fields

ts

Timestamp of the history record.

val

Value at the timestamp.

methods

compare

Ordering is based on timestamp.

each
eachWhile
equals

Equality is based on timestamp and value.

get
has
hash

Hash code is based on timestamp and value.

isEmpty
map
missing
trap

Slot Details

compare

virtual override Int compare(Obj that)

Ordering is based on timestamp.

each

virtual override Void each(|Obj,Str| f)

eachWhile

virtual override Obj? eachWhile(|Obj,Str->Obj?| f)

equals

virtual override Bool equals(Obj? that)

Equality is based on timestamp and value.

get

@Operator
virtual override Obj? get(Str name, Obj? def := null)

has

virtual override Bool has(Str name)

hash

virtual override Int hash()

Hash code is based on timestamp and value.

isEmpty

virtual override Bool isEmpty()

make

new make(DateTime ts, Obj? val)

Construct timestamp/value pair.

map

virtual override This map(|Obj,Str->Obj| f)

missing

virtual override Bool missing(Str name)

trap

virtual override Obj? trap(Str name, Obj?[]? args := null)

ts

const DateTime ts

Timestamp of the history record.

val

const Obj? val

Value at the timestamp.