Android Guides | Samples

Android.Util.Range Class

Immutable class for describing the range of two numeric values.

See Also: Range

Syntax

[Android.Runtime.Register("android/util/Range", DoNotGenerateAcw=true)]
public sealed class Range : Object

Remarks

Immutable class for describing the range of two numeric values.

A range (or "interval") defines the inclusive boundaries around a contiguous span of values of some IComparable type; for example, "integers from 1 to 100 inclusive."

All ranges are bounded, and the left side of the range is always >= the right side of the range.

Although the implementation itself is immutable, there is no restriction that objects stored must also be immutable. If mutable objects are stored here, then the range effectively becomes mutable.

[Android Documentation]

Requirements

Namespace: Android.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Util.Range are listed below.

See Also: Object

Public Constructors

Public Properties

[read-only]
LowerObject. Get the lower endpoint.
[read-only]
UpperObject. Get the upper endpoint.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods