Skip to content

Methods_T_CodeJam_Ranges_CompositeRange_2

Andrew Koryavchenko edited this page Jul 4, 2017 · 3 revisions

CompositeRange(T, TKey) Methods

The CompositeRange(T, TKey) generic type exposes the following members.

Methods

 

Name Description
Public method Equals(Object) Indicates whether the current range and a specified object are equal. (Overrides ValueType.Equals(Object).)
Public method Equals(CompositeRange(T, TKey)) Indicates whether the current range is equal to another.
Public method GetHashCode Returns a hash code for the current range. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Merge Returns simplified composite range. Adjacent ranges with same keys will be merged.
Public method ToString() Returns string representation of the range. (Overrides ValueType.ToString().)
Public method ToString(IFormatProvider) Returns string representation of the range using the specified format string. If T does not implement the format string is ignored.
Public method ToString(String) Returns string representation of the range using the specified format string. If T does not implement the format string is ignored.
Public method ToString(String, IFormatProvider) Returns string representation of the range using the specified format string. If T does not implement the format string is ignored.
  Back to Top

See Also

Reference

CompositeRange(T, TKey) Structure
CodeJam.Ranges Namespace

Clone this wiki locally