kotlin.collections.Collection

Collection

interface Collection<out E> : Iterable<E>

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.

Parameters

E - the type of elements contained in the collection. The collection is covariant on its element type.

Properties

siz