次の方法で共有


Collections.Reverse(IList<Object>) Method

Definition

Reverses the order of the elements in the specified list.

[Android.Runtime.Register("reverse", "(Ljava/util/List;)V", "")]
public static void Reverse (System.Collections.Generic.IList<object> list);
[<Android.Runtime.Register("reverse", "(Ljava/util/List;)V", "")>]
static member Reverse : System.Collections.Generic.IList<obj> -> unit

Parameters

list
IList<Object>

the list whose elements are to be reversed.

Attributes

Remarks

Reverses the order of the elements in the specified list.

This method runs in linear time.

Java documentation for java.util.Collections.reverse(java.util.List<?>).

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