Struct
DoubleGroup

Used for Name values of IGroups that are grouping in ranges by numeric values. The DoubleGroup contains the items with double values in range from Start to End.

Definition

Namespace:Telerik.Pivot.Core.Groups

Assembly:Telerik.Pivot.Core.dll

Syntax:

cs-api-definition
public struct DoubleGroup : IEquatable<DoubleGroup>, IComparable<DoubleGroup>, IComparable

Implements: IComparableIComparable<DoubleGroup>IEquatable<DoubleGroup>

Constructors

DoubleGroup(double, double)

Initializes a new instance of the DoubleGroup struct.

Declaration

cs-api-definition
public DoubleGroup(double start, double end)

Parameters

start

double

The start value which this group represents.

end

double

The end value which this group represents.

Properties

End

Gets the upper limit for values in this DoubleGroup.

Declaration

cs-api-definition
public double End { readonly get; set; }

Property Value

double

Start

Gets the lower limit for values in this DoubleGroup.

Declaration

cs-api-definition
public double Start { readonly get; set; }

Property Value

double

Methods

CompareTo(DoubleGroup)

Declaration

cs-api-definition
public int CompareTo(DoubleGroup other)

Parameters

other

DoubleGroup

Returns

int

Implements IComparable<DoubleGroup>.CompareTo(DoubleGroup)

CompareTo(object)

Declaration

cs-api-definition
public int CompareTo(object obj)

Parameters

obj

object

Returns

int

Implements IComparable.CompareTo(object)

Equals(DoubleGroup)

Declaration

cs-api-definition
public bool Equals(DoubleGroup other)

Parameters

other

DoubleGroup

Returns

bool

Implements IEquatable<DoubleGroup>.Equals(DoubleGroup)

Equals(object)

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

Returns

bool

Overrides ValueType.Equals(object)

GetHashCode()

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

Overrides ValueType.GetHashCode()

ToString()

Declaration

cs-api-definition
public override string ToString()

Returns

string

Overrides ValueType.ToString()

Operators

operator !=(DoubleGroup, DoubleGroup)

Determines whether two specified instances of DoubleGroup are not equal.

Declaration

cs-api-definition
public static bool operator !=(DoubleGroup left, DoubleGroup right)

Parameters

left

DoubleGroup

The first object to compare.

right

DoubleGroup

The second object to compare.

Returns

bool

true if left and right do not represent the same double group; otherwise, false.

operator <(DoubleGroup, DoubleGroup)

Determines whether one specified DoubleGroup is less than another specified DoubleGroup.

Declaration

cs-api-definition
public static bool operator <(DoubleGroup left, DoubleGroup right)

Parameters

left

DoubleGroup

The first object to compare.

right

DoubleGroup

The second object to compare.

Returns

bool

true if left is less than right; otherwise, false.

operator <=(DoubleGroup, DoubleGroup)

Determines whether one specified DoubleGroup is less than or equal to another specified DoubleGroup.

Declaration

cs-api-definition
public static bool operator <=(DoubleGroup left, DoubleGroup right)

Parameters

left

DoubleGroup

The first object to compare.

right

DoubleGroup

The second object to compare.

Returns

bool

true if left is less than or equal to right; otherwise, false.

operator ==(DoubleGroup, DoubleGroup)

Determines whether two specified instances of DoubleGroup are equal.

Declaration

cs-api-definition
public static bool operator ==(DoubleGroup left, DoubleGroup right)

Parameters

left

DoubleGroup

The first object to compare.

right

DoubleGroup

The second object to compare.

Returns

bool

true if left and right represent the same double group; otherwise, false.

operator >(DoubleGroup, DoubleGroup)

Determines whether one specified DoubleGroup is greater than another specified DoubleGroup.

Declaration

cs-api-definition
public static bool operator >(DoubleGroup left, DoubleGroup right)

Parameters

left

DoubleGroup

The first object to compare.

right

DoubleGroup

The second object to compare.

Returns

bool

true if left is greater than right; otherwise, false.

operator >=(DoubleGroup, DoubleGroup)

Determines whether one specified DoubleGroup is greater than or equal to another specified DoubleGroup.

Declaration

cs-api-definition
public static bool operator >=(DoubleGroup left, DoubleGroup right)

Parameters

left

DoubleGroup

The first object to compare.

right

DoubleGroup

The second object to compare.

Returns

bool

true if left is greater than or equal to right; otherwise, false.