Collections.Max Collections.Max Method

Definition

Overloads

Max(ICollection, IComparator) Max(ICollection, IComparator)
Max(ICollection) Max(ICollection)

Max(ICollection, IComparator) Max(ICollection, IComparator)

[Android.Runtime.Register("max", "(Ljava/util/Collection;Ljava/util/Comparator;)Ljava/lang/Object;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public static Java.Lang.Object Max (System.Collections.ICollection coll, Java.Util.IComparator comp);
static member Max : System.Collections.ICollection * Java.Util.IComparator -> Java.Lang.Object

Parameters

Returns

Remarks

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.

Max(ICollection) Max(ICollection)

[Android.Runtime.Register("max", "(Ljava/util/Collection;)Ljava/lang/Object;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T extends java.lang.Object & java.lang.Comparable<? super T>" })]
public static Java.Lang.Object Max (System.Collections.ICollection coll);
static member Max : System.Collections.ICollection -> Java.Lang.Object

Parameters

Returns

Remarks

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