UnorderedMultiSet

data class UnorderedMultiSet<T>(list: List<T>) : Iterable<T> (source)

Basically used as proxy for equality check in data classes, where the order of a list does not impact equality, but the number of occurances does.

Constructors

Link copied to clipboard
constructor(list: List<T>)
constructor()
constructor(element1: T, element2: T, vararg elements: T)

Types

Link copied to clipboard
class ListSerializer<T>(elementSerializer: KSerializer<T>) : KSerializer<UnorderedMultiSet<T>>

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open operator override fun iterator(): Iterator<T>