Class PushTimestampEra
Defines a reference-type object wrapping an System.Int32 Era
, which is the integer value,
all push timestamps of MoreStructures.PriorityQueues.PrioritizedItem<T> instances having such base should be part of.
Inheritance
Implements
Inherited Members
Namespace: MoreStructures.PriorityQueues
Assembly: MoreStructures.dll
Syntax
public class PushTimestampEra : IEquatable<PushTimestampEra>
Remarks
The order of push timestamps in different eras is solely determined by the era: push timestamps in lower eras are
always considered smaller than push timestamps in higher eras, no matter their value.
Within the same era, higher push timestamps are considered higher than lower push timestamps (i.e. the timestamp
value is taken into account).
Constructors
| Improve this Doc View SourcePushTimestampEra(Int32)
Defines a reference-type object wrapping an System.Int32 Era
, which is the integer value,
all push timestamps of MoreStructures.PriorityQueues.PrioritizedItem<T> instances having such base should be part of.
Declaration
public PushTimestampEra(int Era)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | Era | The value of the era, the push timestamp refers to. Any integer, positive or negative. |
Remarks
The order of push timestamps in different eras is solely determined by the era: push timestamps in lower eras are
always considered smaller than push timestamps in higher eras, no matter their value.
Within the same era, higher push timestamps are considered higher than lower push timestamps (i.e. the timestamp
value is taken into account).
Properties
| Improve this Doc View SourceEra
Declaration
public int Era { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |