RangeT Class

Represents a range of values defined by start and end value.

Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.110 -- Release Build+3e0464f4461df4d3e1175b13966eb47ff832554d
public class Range<T>
Inheritance
Object    RangeT

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:Gemstone.Range`1"]

Constructors

RangeT Creates a new instance of the RangeT class using the default comparer.

Properties

End Gets the end value of the range.
Start Gets the start value of the range.

Methods

Contains(T) Determines whether the range contains the given value.
Contains(RangeT) Determines whether the range contains the given range.
Contains(T, IComparerT) Determines whether the range contains the given value.
Contains(T, ComparisonT) Determines whether the range contains the given value.
Contains(RangeT, IComparerT) Determines whether the range contains the given range.
Contains(RangeT, ComparisonT) Determines whether the range contains the given range.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Merge(IEnumerableRangeT) Merges all ranges in a collection of ranges.
Merge(RangeT) Merges two ranges into one range that fully encompasses both ranges.
Merge(IEnumerableRangeT, ComparerT) Merges all ranges in a collection of ranges.
Merge(IEnumerableRangeT, ComparisonT) Merges all ranges in a collection of ranges.
Merge(RangeT, IComparerT) Merges two ranges into one range that fully encompasses both ranges.
Merge(RangeT, ComparisonT) Merges two ranges into one range that fully encompasses both ranges.
MergeAllOverlapping(IEnumerableRangeT) Merges all consecutive groups of overlapping ranges in a collection and returns the resulting collection of ranges.
MergeAllOverlapping(IEnumerableRangeT, IComparerT) Merges all consecutive groups of overlapping ranges in a collection and returns the resulting collection of ranges.
MergeAllOverlapping(IEnumerableRangeT, ComparisonT) Merges all consecutive groups of overlapping ranges in a collection and returns the resulting collection of ranges.
MergeConsecutiveOverlapping(IEnumerableRangeT) Merges all consecutive groups of overlapping ranges in a collection and returns the resulting collection of ranges.
MergeConsecutiveOverlapping(IEnumerableRangeT, IComparerT) Merges all consecutive groups of overlapping ranges in a collection and returns the resulting collection of ranges.
MergeConsecutiveOverlapping(IEnumerableRangeT, ComparisonT) Merges all consecutive groups of overlapping ranges in a collection and returns the resulting collection of ranges.
Overlaps(RangeT) Determines whether the range overlaps with the given range.
Overlaps(RangeT, IComparerT) Determines whether the range overlaps with the given range.
Overlaps(RangeT, ComparisonT) Determines whether the range overlaps with the given range.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)

See Also