Objects.CheckFromIndexSize(Int32, 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.
Checks if the sub-range from fromIndex (inclusive) to
fromIndex + size (exclusive) is within the bounds of range from
0 (inclusive) to length (exclusive).
[Android.Runtime.Register("checkFromIndexSize", "(III)I", "", ApiSince=30)]
public static int CheckFromIndexSize (int fromIndex, int size, int length);
[<Android.Runtime.Register("checkFromIndexSize", "(III)I", "", ApiSince=30)>]
static member CheckFromIndexSize : int * int * int -> int
Parameters
- fromIndex
- Int32
the lower-bound (inclusive) of the sub-interval
- size
- Int32
the size of the sub-range
- length
- Int32
the upper-bound (exclusive) of the range
Returns
fromIndex if the sub-range within bounds of the range
- Attributes
Remarks
Java documentation for java.util.Objects.checkFromIndexSize(int, 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.