concepts.dsl.constraint.OptimisticValue#

class OptimisticValue[source]#

Bases: object

An optimistic value object holds a pair of data type and an optimistic identifier.

Methods

Attributes

dtype

The dtype of the optimistic value.

identifier

The optimistic identifier.

__init__(dtype, identifier)[source]#

Initialize the OptimisticValue object.

Parameters:
  • dtype (ValueType) – the type of the value.

  • identifier (int) – the optimistic identifier.

__new__(**kwargs)#
dtype: ValueType#

The dtype of the optimistic value.

identifier: int#

The optimistic identifier.