object Chunk extends IndexedSeqFactory[Chunk] with ChunkFactory with ChunkPlatformSpecific with Serializable
- Alphabetic
- By Inheritance
- Chunk
- Serializable
- Serializable
- ChunkPlatformSpecific
- ChunkFactory
- IndexedSeqFactory
- SeqFactory
- TraversableFactory
- GenericSeqCompanion
- GenSeqFactory
- GenTraversableFactory
- GenericCompanion
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final case class AnyRefArray[A <: AnyRef](array: Array[A], offset: Int, length: Int) extends Arr[A] with ChunkIterator[A] with Product with Serializable
- final case class BooleanArray(array: Array[Boolean], offset: Int, length: Int) extends Arr[Boolean] with ChunkIterator[Boolean] with Product with Serializable
- final case class ByteArray(array: Array[Byte], offset: Int, length: Int) extends Arr[Byte] with ChunkIterator[Byte] with Product with Serializable
- final case class CharArray(array: Array[Char], offset: Int, length: Int) extends Arr[Char] with ChunkIterator[Char] with Product with Serializable
-
sealed
trait
ChunkIterator[+A] extends AnyRef
A
ChunkIterator
is a specialized iterator that supports efficient iteration over chunks.A
ChunkIterator
is a specialized iterator that supports efficient iteration over chunks. Unlike a normal iterator, the caller is responsible for providing anindex
with each call tohasNextAt
andnextAt
. By contract this should be0
initially and incremented by1
each timenextAt
is called. This allows the caller to maintain the current index in local memory rather than the iterator having to do it on the heap for array backed chunks. -
type
Coll = Chunk[_]
- Attributes
- protected[this]
- Definition Classes
- GenericCompanion
- final case class DoubleArray(array: Array[Double], offset: Int, length: Int) extends Arr[Double] with ChunkIterator[Double] with Product with Serializable
- final case class FloatArray(array: Array[Float], offset: Int, length: Int) extends Arr[Float] with ChunkIterator[Float] with Product with Serializable
-
class
GenericCanBuildFrom[A] extends CanBuildFrom[CC[_], A, CC[A]]
- Definition Classes
- GenTraversableFactory
- final case class IntArray(array: Array[Int], offset: Int, length: Int) extends Arr[Int] with ChunkIterator[Int] with Product with Serializable
- sealed trait IsText[-T] extends AnyRef
- final case class LongArray(array: Array[Long], offset: Int, length: Int) extends Arr[Long] with ChunkIterator[Long] with Product with Serializable
- final case class ShortArray(array: Array[Short], offset: Int, length: Int) extends Arr[Short] with ChunkIterator[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
ReusableCBF: GenericCanBuildFrom[Nothing]
- Definition Classes
- GenTraversableFactory
-
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 → GenericCompanion
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
concat[A](xss: Traversable[A]*): Chunk[A]
- Definition Classes
- GenTraversableFactory
-
def
empty[A]: Chunk[A]
Returns the empty chunk.
Returns the empty chunk.
- Definition Classes
- Chunk → GenericCompanion
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fill[A](n: Int)(elem: ⇒ A): Chunk[A]
- Definition Classes
- Chunk → GenTraversableFactory
-
def
fill[A](n1: Int, n2: Int, n3: Int, n4: Int, n5: Int)(elem: ⇒ A): Chunk[Chunk[Chunk[Chunk[Chunk[A]]]]]
- Definition Classes
- GenTraversableFactory
-
def
fill[A](n1: Int, n2: Int, n3: Int, n4: Int)(elem: ⇒ A): Chunk[Chunk[Chunk[Chunk[A]]]]
- Definition Classes
- GenTraversableFactory
-
def
fill[A](n1: Int, n2: Int, n3: Int)(elem: ⇒ A): Chunk[Chunk[Chunk[A]]]
- Definition Classes
- GenTraversableFactory
-
def
fill[A](n1: Int, n2: Int)(elem: ⇒ A): Chunk[Chunk[A]]
- Definition Classes
- GenTraversableFactory
-
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
fromJavaIterable[A](iterable: Iterable[A]): Chunk[A]
Returns a chunk backed by a Java iterable.
-
def
fromJavaIterator[A](iterator: Iterator[A]): Chunk[A]
Creates a chunk from a Java 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[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
iterate[A](start: A, len: Int)(f: (A) ⇒ A): Chunk[A]
- Definition Classes
- GenTraversableFactory
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newBuilder[A]: ChunkBuilder[A]
- Definition Classes
- Chunk → GenericCompanion
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
range[T](start: T, end: T, step: T)(implicit arg0: Integral[T]): Chunk[T]
- Definition Classes
- GenTraversableFactory
-
def
range[T](start: T, end: T)(implicit arg0: Integral[T]): Chunk[T]
- Definition Classes
- GenTraversableFactory
-
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
tabulate[A](n1: Int, n2: Int, n3: Int, n4: Int, n5: Int)(f: (Int, Int, Int, Int, Int) ⇒ A): Chunk[Chunk[Chunk[Chunk[Chunk[A]]]]]
- Definition Classes
- GenTraversableFactory
-
def
tabulate[A](n1: Int, n2: Int, n3: Int, n4: Int)(f: (Int, Int, Int, Int) ⇒ A): Chunk[Chunk[Chunk[Chunk[A]]]]
- Definition Classes
- GenTraversableFactory
-
def
tabulate[A](n1: Int, n2: Int, n3: Int)(f: (Int, Int, Int) ⇒ A): Chunk[Chunk[Chunk[A]]]
- Definition Classes
- GenTraversableFactory
-
def
tabulate[A](n1: Int, n2: Int)(f: (Int, Int) ⇒ A): Chunk[Chunk[A]]
- Definition Classes
- GenTraversableFactory
-
def
tabulate[A](n: Int)(f: (Int) ⇒ A): Chunk[A]
- Definition Classes
- GenTraversableFactory
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unapplySeq[A](x: Chunk[A]): Some[Chunk[A]]
- Definition Classes
- SeqFactory
-
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
unfoldZIO[R, E, A, S](s: S)(f: (S) ⇒ ZIO[R, E, Option[(A, S)]])(implicit trace: Trace): 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( ... )
-
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()
- object BitChunk extends Serializable
- object ChunkIterator
- object IsText