trait PartiallyBuildMap[Mapp, Key, Value] extends PartiallyBuildIterable[Mapp, (Key, Value)]
Tells Chimney how to interact with Collection type to align its behavior with e.g. NonEmptyMap.
It's factory should perform validation of a collection once all its elements has been obtained.
- Mapp
type storing collection of
Key-Valuepairs - has to be proper type, not higher-kinded type- Key
type of internal keys
- Value
type of internal values
- Since
1.0.0
- See also
https://chimney.readthedocs.io/cookbook/#custom-collection-types for more details
- Alphabetic
- By Inheritance
- PartiallyBuildMap
- PartiallyBuildIterable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def iterator(collection: Mapp): Iterator[(Key, Value)]
Creates Iterator for the
Collection.Creates Iterator for the
Collection.- Definition Classes
- PartiallyBuildIterable
- abstract def partialFactory: Factory[(Key, Value), Result[Mapp]]
Factory of the
Collection, validated with partial.Result.Factory of the
Collection, validated with partial.Result.- Definition Classes
- PartiallyBuildIterable
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def to[Collection2](collection: Mapp, factory: Factory[(Key, Value), Collection2]): Collection2
Converts Collection into
Collection2.Converts Collection into
Collection2.- Definition Classes
- PartiallyBuildIterable
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def widen[Collection2 >: Mapp]: PartiallyBuildIterable[Collection2, (Key, Value)]
Useful since this class is invariant.
Useful since this class is invariant.
- Definition Classes
- PartiallyBuildIterable
Deprecated Value Members
- def narrow[Collection2 <: Mapp]: PartiallyBuildIterable[Collection2, (Key, Value)]
- Definition Classes
- PartiallyBuildIterable
- Annotations
- @deprecated
- Deprecated