ConcurrentSet

zio.concurrent.ConcurrentSet
See theConcurrentSet companion class
object ConcurrentSet

Attributes

Companion
class
Source
ConcurrentSet.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def empty[A]: UIO[ConcurrentSet[A]]

Makes an empty ConcurrentSet

Makes an empty ConcurrentSet

Attributes

Source
ConcurrentSet.scala
def empty[A](initialCapacity: Int): UIO[ConcurrentSet[A]]

Makes an empty ConcurrentSet with initial capacity

Makes an empty ConcurrentSet with initial capacity

Attributes

Source
ConcurrentSet.scala
def fromIterable[A](as: Iterable[A]): UIO[ConcurrentSet[A]]

Makes a new ConcurrentSet initialized with provided collection.

Makes a new ConcurrentSet initialized with provided collection.

Attributes

Source
ConcurrentSet.scala
def make[A](as: A*): UIO[ConcurrentSet[A]]

Makes a new ConcurrentSet initialized with the provided elements

Makes a new ConcurrentSet initialized with the provided elements

Attributes

Source
ConcurrentSet.scala