Range(Object, Object) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a new immutable range.
[Android.Runtime.Register(".ctor", "(Ljava/lang/Comparable;Ljava/lang/Comparable;)V", "")]
public Range (Java.Lang.Object? lower, Java.Lang.Object? upper);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Comparable;Ljava/lang/Comparable;)V", "")>]
new Android.Util.Range : Java.Lang.Object * Java.Lang.Object -> Android.Util.Range
Parameters
- lower
- Object
The lower endpoint (inclusive)
- upper
- Object
The upper endpoint (inclusive)
- Attributes
Remarks
Create a new immutable range.
The endpoints are [lower, upper]
; that is the range is bounded. lower
must be Comparable#compareTo lesser or equal
to upper
.
Java documentation for android.util.Range.Range(T, T)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.