trait PartiallyBuildIterable[Collection, Item] extends AnyRef
Tells Chimney how to interact with Collection type to align its behavior with e.g. NonEmpty* collections of
Items.
It's factory should perform validation of a collection once all its elements has been obtained.
- Collection
type storing collection of
Items - has to be proper type, not higher-kinded type- Item
type of internal items
- Since
1.0.0
- See also
https://chimney.readthedocs.io/cookbook/#custom-collection-types for more details
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- PartiallyBuildIterable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
iterator(collection: Collection): Iterator[Item]
Creates Iterator for the
Collection. -
abstract
def
partialFactory: scala.collection.compat.Factory[Item, Result[Collection]]
Factory of the
Collection, validated with partial.Result.
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( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- 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: Collection, factory: scala.collection.compat.Factory[Item, Collection2]): Collection2
Converts Collection into
Collection2. -
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
widen[Collection2 >: Collection]: PartiallyBuildIterable[Collection2, Item]
Useful since this class is invariant.
Deprecated Value Members
-
def
narrow[Collection2 <: Collection]: PartiallyBuildIterable[Collection2, Item]
- Annotations
- @deprecated
- Deprecated