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

Syntax

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

Parameters

array
the short array to fill.
start
the first index to fill.
end
the last + 1 index to fill.
value
the short 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