object Chunk extends ChunkFactory with ChunkPlatformSpecific
- Alphabetic
- By Inheritance
- Chunk
- ChunkPlatformSpecific
- ChunkFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class AnyRefArray[A <: AnyRef](array: Array[A]) extends Arr[A] with Product with Serializable
- final case class BooleanArray(array: Array[Boolean]) extends Arr[Boolean] with Product with Serializable
- final case class ByteArray(array: Array[Byte]) extends Arr[Byte] with Product with Serializable
- final case class CharArray(array: Array[Char]) extends Arr[Char] with Product with Serializable
- final case class DoubleArray(array: Array[Double]) extends Arr[Double] with Product with Serializable
- final case class FloatArray(array: Array[Float]) extends Arr[Float] with Product with Serializable
- final case class IntArray(array: Array[Int]) extends Arr[Int] with Product with Serializable
- final case class LongArray(array: Array[Long]) extends Arr[Long] with Product with Serializable
- final case class ShortArray(array: Array[Short]) extends Arr[Short] with Product with Serializable
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
- def apply[A](as: A*): Chunk[A]
Returns a chunk from a number of values.
Returns a chunk from a number of values.
- Definition Classes
- Chunk → ChunkFactory
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val empty: Chunk[Nothing]
Returns the empty chunk.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fill[A](n: Int)(elem: => A): Chunk[A]
- Definition Classes
- Chunk → ChunkFactory
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromArray[A](array: Array[A]): Chunk[A]
Returns a chunk backed by an array.
Returns a chunk backed by an array.
WARNING: The array must not be mutated after creating the chunk.
- def fromByteBuffer(buffer: ByteBuffer): Chunk[Byte]
Returns a chunk backed by a java.nio.ByteBuffer.
- def fromCharBuffer(buffer: CharBuffer): Chunk[Char]
Returns a chunk backed by a java.nio.CharBuffer.
- def fromDoubleBuffer(buffer: DoubleBuffer): Chunk[Double]
Returns a chunk backed by a java.nio.DoubleBuffer.
- def fromFloatBuffer(buffer: FloatBuffer): Chunk[Float]
Returns a chunk backed by a java.nio.FloatBuffer.
- def fromIntBuffer(buffer: IntBuffer): Chunk[Int]
Returns a chunk backed by a java.nio.IntBuffer.
- def fromIterable[A](it: Iterable[A]): Chunk[A]
Returns a chunk backed by an iterable.
- def fromIterator[A](iterator: Iterator[A]): Chunk[A]
Creates a chunk from an iterator.
- def fromLongBuffer(buffer: LongBuffer): Chunk[Long]
Returns a chunk backed by a java.nio.LongBuffer.
- def fromShortBuffer(buffer: ShortBuffer): Chunk[Short]
Returns a chunk backed by a java.nio.ShortBuffer.
- 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()
- def single[A](a: A): Chunk[A]
Returns a singleton chunk, eagerly evaluated.
- def succeed[A](a: A): Chunk[A]
Alias for Chunk.single.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unapplySeq[A](chunk: Chunk[A]): Some[Chunk[A]]
Extracts the elements from a
Chunk
.Extracts the elements from a
Chunk
.- Definition Classes
- ChunkFactory
- def unfold[S, A](s: S)(f: (S) => Option[(A, S)]): Chunk[A]
Constructs a
Chunk
by repeatedly applying the functionf
as long as it returnsSome
. - def unfoldM[R, E, A, S](s: S)(f: (S) => ZIO[R, E, Option[(A, S)]]): ZIO[R, E, Chunk[A]]
Constructs a
Chunk
by repeatedly applying the effectual functionf
as long as it returnsSome
. - val unit: Chunk[Unit]
The unit chunk
- 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()