IValueIterator.SetRange(Int32, Int32) Method
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.
Restricts the range of integers to iterate and resets the iteration to begin at the index argument start.
[Android.Runtime.Register("setRange", "(II)V", "GetSetRange_IIHandler:Android.Icu.Util.IValueIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public void SetRange (int start, int limit);
[<Android.Runtime.Register("setRange", "(II)V", "GetSetRange_IIHandler:Android.Icu.Util.IValueIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member SetRange : int * int -> unit
Parameters
- start
- Int32
first integer in the range to iterate
- limit
- Int32
one more than the last integer in the range
- Attributes
Remarks
Restricts the range of integers to iterate and resets the iteration to begin at the index argument start.
If setRange(start, end) is not performed before next(element) is called, the iteration will start from the integer index Integer.MIN_VALUE and end at Integer.MAX_VALUE.
If this range is set outside the meaningful range specified by the implementation, next(element) will always return false.
Java documentation for android.icu.util.ValueIterator.setRange(int, int)
.
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.