Share via


INavigableSet.Floor(Object) Method

Definition

Returns the greatest element in this set less than or equal to the given element, or null if there is no such element.

[Android.Runtime.Register("floor", "(Ljava/lang/Object;)Ljava/lang/Object;", "GetFloor_Ljava_lang_Object_Handler:Java.Util.INavigableSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? Floor (Java.Lang.Object? e);
[<Android.Runtime.Register("floor", "(Ljava/lang/Object;)Ljava/lang/Object;", "GetFloor_Ljava_lang_Object_Handler:Java.Util.INavigableSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Floor : Java.Lang.Object -> Java.Lang.Object

Parameters

e
Object

the value to match

Returns

the greatest element less than or equal to e, or null if there is no such element

Attributes

Remarks

Returns the greatest element in this set less than or equal to the given element, or null if there is no such element.

Java documentation for java.util.NavigableSet.floor(E).

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