INavigableSet INavigableSet Interface


A ISortedSet extended with navigation methods reporting closest matches for given search targets.

[Android.Runtime.Register("java/util/NavigableSet", "", "Java.Util.INavigableSetInvoker", ApiSince=9)]
[Java.Interop.JavaTypeParameters(new System.String[] { "E" })]
public interface INavigableSet : IDisposable, Java.Util.ISortedSet
type INavigableSet = interface
    interface ISortedSet
    interface ISet
    interface ICollection
    interface IIterable
    interface IJavaObject
    interface IDisposable


Android platform documentation

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.


Add(Object) Add(Object) Inherited from ISet
AddAll(ICollection) AddAll(ICollection) Inherited from ISet
Ceiling(Object) Ceiling(Object)
Clear() Clear()

Removes all elements from this set, leaving it empty.

(Inherited from ISet)
Comparator() Comparator()

Returns the comparator used to compare elements in this SortedSet.

(Inherited from ISortedSet)
Contains(Object) Contains(Object)

Searches this set for the specified object.

(Inherited from ISet)
ContainsAll(ICollection) ContainsAll(ICollection) Inherited from ISet
DescendingIterator() DescendingIterator()

Returns an iterator over the elements in this set, in descending order.

DescendingSet() DescendingSet()

Returns a reverse order view of the elements contained in this set.

Equals(Object) Equals(Object)

Compares the specified object to this set, and returns true if they represent the same object using a class specific comparison.

(Inherited from ISet)
First() First()

Returns the first element in this SortedSet.

(Inherited from ISortedSet)
Floor(Object) Floor(Object)
GetHashCode() GetHashCode()

Returns the hash code for this set.

(Inherited from ISet)
HeadSet(Object) HeadSet(Object)
HeadSet(Object, Boolean) HeadSet(Object, Boolean)
Higher(Object) Higher(Object)
Iterator() Iterator()

Returns an iterator over the elements in this set, in ascending order.

Last() Last()

Returns the last element in this SortedSet.

(Inherited from ISortedSet)
Lower(Object) Lower(Object)
PollFirst() PollFirst()

Retrieves and removes the first (lowest) element, or returns null if this set is empty.

PollLast() PollLast()

Retrieves and removes the last (highest) element, or returns null if this set is empty.

Remove(Object) Remove(Object)

Removes the specified object from this set.

(Inherited from ISet)
RemoveAll(ICollection) RemoveAll(ICollection) Inherited from ISet
RetainAll(ICollection) RetainAll(ICollection) Inherited from ISet
Size() Size()

Returns the number of elements in this set.

(Inherited from ISet)
SubSet(Object, Boolean, Object, Boolean) SubSet(Object, Boolean, Object, Boolean)
SubSet(Object, Object) SubSet(Object, Object)
TailSet(Object) TailSet(Object)
TailSet(Object, Boolean) TailSet(Object, Boolean)
ToArray() ToArray()

Returns an array containing all elements contained in this set.

(Inherited from ISet)
ToArray(Object[]) ToArray(Object[]) Inherited from ISet


Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
IsEmpty IsEmpty

Returns true if this set has no elements.

(Inherited from ISet)

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
ToEnumerable(IIterable) ToEnumerable(IIterable)
ToEnumerable<T>(IIterable) ToEnumerable<T>(IIterable)

Applies to