ImmutableSet

data class ImmutableSet<out T>(val value: Set<T> = setOf())

Immutable Set

Parameters

out

T type T

Constructors

Link copied to clipboard
constructor(value: Set<T> = setOf())

Properties

Link copied to clipboard
val value: Set<T>

Set input set of type T

Functions

Link copied to clipboard
fun count(): Int

Returns the count of the element in the immutable set