Java.Util.Arrays.Fill Method
Fills the specified range in the array with the specified element.

Syntax

[Android.Runtime.Register("fill", "([JIIJ)V", "")]
public static void Fill (long[] array, int start, int end, long value)

Parameters

array
the long array to fill.
start
the first index to fill.
end
the last + 1 index to fill.
value
the long element.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif start > end.
Java.Lang.ArrayIndexOutOfBoundsExceptionif start or end > array.length.

Remarks

Fills the specified range in the array with the specified element.

[Android Documentation]

Requirements

Namespace: Java.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1