CopyOnWriteArrayList.SubList(Int32, Int32) Method

Definition

Returns a view of the portion of this list between fromIndex, inclusive, and toIndex, exclusive.

[Android.Runtime.Register("subList", "(II)Ljava/util/List;", "GetSubList_IIHandler")]
public virtual System.Collections.IList SubList (int fromIndex, int toIndex);
[<Android.Runtime.Register("subList", "(II)Ljava/util/List;", "GetSubList_IIHandler")>]
abstract member SubList : int * int -> System.Collections.IList
override this.SubList : int * int -> System.Collections.IList

Parameters

fromIndex
Int32

low endpoint (inclusive) of the subList

toIndex
Int32

high endpoint (exclusive) of the subList

Returns

IList

a view of the specified range within this list

Implements

Attributes

Remarks

Java documentation for java.util.concurrent.CopyOnWriteArrayList.subList(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.

Applies to