TotallyBuildMap

io.scalaland.chimney.integrations.TotallyBuildMap
trait TotallyBuildMap[Mapp, Key, Value] extends TotallyBuildIterable[Mapp, (Key, Value)]

Tells Chimney how to interact with Collection type to align its behavior with e.g. Map.

Type parameters

Key

type of internal keys

Mapp

type storing collection of Key-Value pairs - has to be proper type, not higher-kinded type

Value

type of internal values

Attributes

See also
Since

1.0.0

Graph
Supertypes
trait TotallyBuildIterable[Mapp, (Key, Value)]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def widen[Collection2 >: Mapp]: TotallyBuildMap[Collection2, Key, Value]

Attributes

Definition Classes

Inherited methods

def iterator(collection: Mapp): Iterator[(Key, Value)]

Creates Iterator for the Collection.

Creates Iterator for the Collection.

Attributes

Inherited from:
TotallyBuildIterable
def to[Collection2](collection: Mapp, factory: Factory[(Key, Value), Collection2]): Collection2

Converts Collection into Collection2.

Converts Collection into Collection2.

Attributes

Inherited from:
TotallyBuildIterable
def totalFactory: Factory[(Key, Value), Mapp]

Factory of the Collection

Factory of the Collection

Attributes

Inherited from:
TotallyBuildIterable