niva Help

Mutable Set

unary

count -> Int
echo -> Unit

removes every element

clear -> Unit
first -> T
last -> T
toList -> List::T
toMutableList -> List::T

binary

== MutableSet::T -> Boolean
!= MutableSet::T -> Boolean
+ T -> MutableSet::T
- T -> MutableSet::T

keyword

forEach: [T -> Unit] -> Unit
onEach: [T -> Unit] -> MutableSet::T
map: [T -> G] -> MutableSet::G
mapIndexed: [Int, T -> G] -> MutableSet::G
filter: [T -> Boolean] -> MutableSet::T
intersect: MutableSet::T -> MutableSet::T
contains: T -> Boolean

Checks if all elements in the specified collection are contained in this set

containsAll: MutableSet::T -> Boolean
add: T -> Unit
remove: T -> Boolean
addAll: MutableSet::T -> Boolean
Last modified: 02 November 2024