다음을 통해 공유


INavigableSet.TailSet Method

Definition

Overloads

TailSet(Object)

To be added

TailSet(Object, Boolean)

Returns a view of the portion of this set whose elements are greater than (or equal to, if inclusive is true) fromElement.

TailSet(Object)

To be added

[Android.Runtime.Register("tailSet", "(Ljava/lang/Object;)Ljava/util/SortedSet;", "GetTailSet_Ljava_lang_Object_Handler:Java.Util.INavigableSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Util.ISortedSet? TailSet (Java.Lang.Object? fromElement);
[<Android.Runtime.Register("tailSet", "(Ljava/lang/Object;)Ljava/util/SortedSet;", "GetTailSet_Ljava_lang_Object_Handler:Java.Util.INavigableSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member TailSet : Java.Lang.Object -> Java.Util.ISortedSet

Parameters

fromElement
Object

Returns

Implements

Attributes

Remarks

To be added

Equivalent to tailSet(fromElement, true).

Java documentation for java.util.NavigableSet.tailSet(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

TailSet(Object, Boolean)

Returns a view of the portion of this set whose elements are greater than (or equal to, if inclusive is true) fromElement.

[Android.Runtime.Register("tailSet", "(Ljava/lang/Object;Z)Ljava/util/NavigableSet;", "GetTailSet_Ljava_lang_Object_ZHandler:Java.Util.INavigableSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Util.INavigableSet? TailSet (Java.Lang.Object? fromElement, bool inclusive);
[<Android.Runtime.Register("tailSet", "(Ljava/lang/Object;Z)Ljava/util/NavigableSet;", "GetTailSet_Ljava_lang_Object_ZHandler:Java.Util.INavigableSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member TailSet : Java.Lang.Object * bool -> Java.Util.INavigableSet

Parameters

fromElement
Object

low endpoint of the returned set

inclusive
Boolean

true if the low endpoint is to be included in the returned view

Returns

a view of the portion of this set whose elements are greater than or equal to fromElement

Attributes

Remarks

Returns a view of the portion of this set whose elements are greater than (or equal to, if inclusive is true) fromElement. The returned set is backed by this set, so changes in the returned set are reflected in this set, and vice-versa. The returned set supports all optional set operations that this set supports.

The returned set will throw an IllegalArgumentException on an attempt to insert an element outside its range.

Java documentation for java.util.NavigableSet.tailSet(E, boolean).

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