다음을 통해 공유


AbstractSequentialList.Get(Int32) Method

Definition

Returns the element at the specified position in this list.

[Android.Runtime.Register("get", "(I)Ljava/lang/Object;", "GetGet_IHandler")]
public override Java.Lang.Object? Get (int index);
[<Android.Runtime.Register("get", "(I)Ljava/lang/Object;", "GetGet_IHandler")>]
override this.Get : int -> Java.Lang.Object

Parameters

index
Int32

Returns

Attributes

Remarks

Returns the element at the specified position in this list.

This implementation first gets a list iterator pointing to the indexed element (with listIterator(index)). Then, it gets the element using ListIterator.next and returns it.

Java documentation for java.util.AbstractSequentialList.get(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