Struct HistogramKeys
Represents histogram dimension key vector.
This class is introduced for performance enhancement vs int[] approach
that would have allocated extra object on heap per call
Implements
System.IComparable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Azos.dll
Syntax
public struct HistogramKeys : IComparable<HistogramKeys>, IComparable
Constructors
HistogramKeys(Int32)
Declaration
public HistogramKeys(int k1)
Parameters
Type |
Name |
Description |
System.Int32 |
k1 |
|
HistogramKeys(Int32, Int32)
Declaration
public HistogramKeys(int k1, int k2)
Parameters
Type |
Name |
Description |
System.Int32 |
k1 |
|
System.Int32 |
k2 |
|
HistogramKeys(Int32, Int32, Int32)
Declaration
public HistogramKeys(int k1, int k2, int k3)
Parameters
Type |
Name |
Description |
System.Int32 |
k1 |
|
System.Int32 |
k2 |
|
System.Int32 |
k3 |
|
Fields
Key1
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Key2
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Key3
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Properties
Item[Int32]
Declaration
public int this[int idx] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
idx |
|
Property Value
Type |
Description |
System.Int32 |
|
Methods
CompareTo(HistogramKeys)
Declaration
public int CompareTo(HistogramKeys rhs)
Parameters
Returns
Type |
Description |
System.Int32 |
|
CompareTo(Object)
Declaration
public int CompareTo(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Int32 |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Implements
System.IComparable<T>
System.IComparable
Extension Methods