ISortedSet ISortedSet Interface


SortedSet is a Set which iterates over its elements in a sorted order.

[Android.Runtime.Register("java/util/SortedSet", "", "Java.Util.ISortedSetInvoker", ApiSince=1)]
[Java.Interop.JavaTypeParameters(new System.String[] { "E" })]
public interface ISortedSet : IDisposable, Java.Util.ISet
type ISortedSet = interface
    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
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.

Contains(Object) Contains(Object)

Searches this set for the specified object.

(Inherited from ISet)
ContainsAll(ICollection) ContainsAll(ICollection) Inherited from ISet
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.

GetHashCode() GetHashCode()

Returns the hash code for this set.

(Inherited from ISet)
HeadSet(Object) HeadSet(Object)
Iterator() Iterator()

Returns an iterator on the elements of this set.

(Inherited from ISet)
Last() Last()

Returns the last element in this SortedSet.

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, Object) SubSet(Object, Object)
TailSet(Object) TailSet(Object)
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