-
Notifications
You must be signed in to change notification settings - Fork 35
Methods_T_CodeJam_Ranges_Range
Andrew Koryavchenko edited this page Jul 4, 2017
·
2 revisions
The Range type exposes the following members.
Name | Description | |
---|---|---|
BoundaryFrom(T) | Inclusive boundary From factory method. | |
BoundaryFromExclusive(T) | Exclusive boundary From factory method. | |
BoundaryFromInfinity(T) | Negative infinity boundary (-∞) factory method. | |
BoundaryTo(T) | Inclusive boundary To factory method. | |
BoundaryToExclusive(T) | Exclusive boundary To factory method. | |
BoundaryToInfinity(T) | Positive infinity boundary (+∞) factory method. | |
Create(T)(T, T) | Creates the range. | |
Create(T)(RangeBoundaryFrom(T), RangeBoundaryTo(T)) | Creates the range. | |
Create(T, TKey)(T, T, TKey) | Creates the range. | |
Create(T, TKey)(RangeBoundaryFrom(T), RangeBoundaryTo(T), TKey) | Creates the range. | |
CreateExclusive(T)(T, T) | Creates the range. | |
CreateExclusive(T, TKey)(T, T, TKey) | Creates the range. | |
CreateExclusiveFrom(T)(T, T) | Creates the range. | |
CreateExclusiveFrom(T, TKey)(T, T, TKey) | Creates the range. | |
CreateExclusiveTo(T)(T, T) | Creates the range. | |
CreateExclusiveTo(T, TKey)(T, T, TKey) | Creates the range. | |
IsValid(T)(T, T) | Returns true if the boundaries can be used for valid range creation. | |
IsValid(T)(RangeBoundaryFrom(T), RangeBoundaryTo(T)) | Returns true if the boundaries can be used for valid range creation. | |
Max(T)(RangeBoundaryFrom(T), RangeBoundaryFrom(T)) | Returns the greater one of the two boundaries. | |
Max(T)(RangeBoundaryTo(T), RangeBoundaryTo(T)) | Returns the greater one of the two boundaries. | |
MaxFrom(T) | Returns the greater one of the two From boundaries. | |
MaxTo(T) | Returns the greater one of the two To boundaries. | |
Min(T)(RangeBoundaryFrom(T), RangeBoundaryFrom(T)) | Returns the less one of the two boundaries. | |
Min(T)(RangeBoundaryTo(T), RangeBoundaryTo(T)) | Returns the less one of the two boundaries. | |
MinFrom(T) | Returns the less one of the two From boundaries. | |
MinTo(T) | Returns the less one of the two To boundaries. | |
TryCreate(T)(T, T) | Tries to create the range. Returns empty range if failed. | |
TryCreate(T)(RangeBoundaryFrom(T), RangeBoundaryTo(T)) | Tries to create the range. Returns empty range if failed. | |
TryCreate(T, TKey)(T, T, TKey) | Tries to create the range. Returns empty range if failed. | |
TryCreate(T, TKey)(RangeBoundaryFrom(T), RangeBoundaryTo(T), TKey) | Tries to create the range. Returns empty range if failed. | |
TryCreateExclusive(T)(T, T) | Tries to create the range. Returnss empty range if failed. | |
TryCreateExclusive(T, TKey)(T, T, TKey) | Tries to create the range. Returnss empty range if failed. | |
TryCreateExclusiveFrom(T)(T, T) | Tries to create the range. Returns empty range if failed. | |
TryCreateExclusiveFrom(T, TKey)(T, T, TKey) | Tries to create the range. Returns empty range if failed. | |
TryCreateExclusiveTo(T)(T, T) | Tries to create the range. Returns empty range if failed. | |
TryCreateExclusiveTo(T, TKey)(T, T, TKey) | Tries to create the range. Returns empty range if failed. |