interface Collection
source · line 4public
public interface Collection<T> : Iterable<T>
- Supertype
Iterable<T> - Inherited
operator fun iterator(): Iterator<T>· Iterable<T>
A finite iterable collection with a Long element count.
Extensions
public fun <T> Collection<T>.isEmpty(): Boolean· scoop:scoop.std:0.1.0public fun <T> Collection<T>.isNotEmpty(): Boolean· scoop:scoop.std:0.1.0
property size
source · line 8public
public val size: Long
get: public read-only
The number of elements currently in the collection.
type parameter T
source · line 4public
T