(Changed in version 2.8.0) +
creates a new set. Use +=
to add an element to this set and return that set itself.
(Changed in version 2.8.0) +
creates a new set. Use +=
to add an element to this set and return that set itself.
(Changed in version 2.8.0) ++
creates a new set. Use ++=
to add elements to this set and return that set itself.
(Changed in version 2.8.0) -
creates a new set. Use -=
to remove an element from this set and return that set itself.
(Changed in version 2.8.0) -
creates a new set. Use -=
to remove an element from this set and return that set itself.
(Changed in version 2.8.0) --
creates a new set. Use --=
to remove elements from this set and return that set itself.
Returns a random element of the set if it is nonEmpty
otherwise throws
IllegalArgumentException
.
Returns a random element of the set if it is nonEmpty
otherwise throws
IllegalArgumentException
.
a random generator; it is essential that random
be instantiated
by the caller just once for any sequence of calls
Finds an entry in the collection based on toMatch
's hashCode
and a correspondence
function but not on the argument type.
Finds an entry in the collection based on toMatch
's hashCode
and a correspondence
function but not on the argument type.
function returning whether a given entry corresponds to other
the entry corresponding to toMatch
or null if not contained
Returns an Iterator
over all entries having the passed hashCode
.
(Changed in version 2.8.0) Set.map now returns a Set, so it will discard duplicate values.
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
Updates or inserts elem
.
Returns a lazily filtered immutable Set.
Returns a lazily filtered immutable Set.
(extHashSet: any2stringadd[ExtHashSet[A]]).+(other)
(extHashSet: MonadOps[A]).filter(p)
(extHashSet: MonadOps[A]).flatMap(f)
(extHashSet: MonadOps[A]).map(f)
(extHashSet: MonadOps[A]).withFilter(p)
(Since version 2.11.0) Scripting is deprecated.