final case class ChunkSize(i: Int) extends AnyVal with Product with Serializable
Used implicitly when creating certain Parsable
instances to determine the "chunkSize" argument
for Stream.fromBlockingIterator
.
No implicit ChunkSize is available by default, but the implicit derivations that expect one
will default to ChunkSize.default
, which uses a chunk size of 32.
You can define a local implicit val chunkSize = ChunkSize(n)
to override this default.
- i
The chunk size as an integer
- Source
- ChunkSize.scala
- Alphabetic
- By Inheritance
- ChunkSize
- Serializable
- Product
- Equals
- AnyVal
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ChunkSize(i: Int)
- i
The chunk size as an integer
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def +(other: String): String
- def ->[B](y: B): (ChunkSize, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ensuring(cond: (ChunkSize) => Boolean, msg: => Any): ChunkSize
- def ensuring(cond: (ChunkSize) => Boolean): ChunkSize
- def ensuring(cond: Boolean, msg: => Any): ChunkSize
- def ensuring(cond: Boolean): ChunkSize
- def formatted(fmtstr: String): String
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- val i: Int
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def productElementNames: Iterator[String]
- Definition Classes
- Product
Deprecated Value Members
- def →[B](y: B): (ChunkSize, B)
- Implicit
- This member is added by an implicit conversion from ChunkSize toArrowAssoc[ChunkSize] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.