Collection
A generic collection of elements. Methods in this interface support only read-only access to the collection; read/write access is supported through the MutableCollection interface.
Since Kotlin
1.0A generic collection of elements. Methods in this interface support only read-only access to the collection; read/write access is supported through the MutableCollection interface.
Since Kotlin
1.1Parameters
the type of elements contained in the collection. The collection is covariant in its element type.
the type of elements contained in the collection. The collection is covariant in its element type.
Functions
Checks if the specified element is contained in this collection.
Checks if the specified element is contained in this collection.
Checks if all elements in the specified collection are contained in this collection.
Checks if all elements in the specified collection are contained in this collection.
Properties
Inheritors
Extensions
Appends all elements that are instances of specified class to the given destination.
Returns a new SortedSet of all elements.