Packages

object Chunk extends Serializable

Source
Chunk.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Chunk
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Booleans(values: Array[Boolean], offset: Int, length: Int) extends Chunk[Boolean] with KnownElementType[Boolean] with Product with Serializable
  2. final case class Boxed[O](values: Array[O], offset: Int, length: Int) extends Chunk[O] with Product with Serializable
  3. sealed abstract class Buffer[A <: Buffer[A, B, C], B <: java.nio.Buffer, C] extends Chunk[C] with KnownElementType[C]
  4. final case class ByteBuffer extends Buffer[ByteBuffer, java.nio.ByteBuffer, Byte] with Product with Serializable
  5. final case class ByteVectorChunk(toByteVector: ByteVector) extends Chunk[Byte] with KnownElementType[Byte] with Product with Serializable
  6. final case class Bytes(values: Array[Byte], offset: Int, length: Int) extends Chunk[Byte] with KnownElementType[Byte] with Product with Serializable
  7. final case class CharBuffer(buf: java.nio.CharBuffer, offset: Int, size: Int) extends Buffer[CharBuffer, java.nio.CharBuffer, Char] with Product with Serializable
  8. final case class DoubleBuffer(buf: java.nio.DoubleBuffer, offset: Int, size: Int) extends Buffer[DoubleBuffer, java.nio.DoubleBuffer, Double] with Product with Serializable
  9. final case class Doubles(values: Array[Double], offset: Int, length: Int) extends Chunk[Double] with KnownElementType[Double] with Product with Serializable
  10. final case class FloatBuffer(buf: java.nio.FloatBuffer, offset: Int, size: Int) extends Buffer[FloatBuffer, java.nio.FloatBuffer, Float] with Product with Serializable
  11. final case class Floats(values: Array[Float], offset: Int, length: Int) extends Chunk[Float] with KnownElementType[Float] with Product with Serializable
  12. final case class IntBuffer(buf: java.nio.IntBuffer, offset: Int, size: Int) extends Buffer[IntBuffer, java.nio.IntBuffer, Int] with Product with Serializable
  13. final case class Ints(values: Array[Int], offset: Int, length: Int) extends Chunk[Int] with KnownElementType[Int] with Product with Serializable
  14. trait KnownElementType[A] extends AnyRef

    Optional mix-in that provides the class tag of the element type in a chunk.

  15. final case class LongBuffer(buf: java.nio.LongBuffer, offset: Int, size: Int) extends Buffer[LongBuffer, java.nio.LongBuffer, Long] with Product with Serializable
  16. final case class Longs(values: Array[Long], offset: Int, length: Int) extends Chunk[Long] with KnownElementType[Long] with Product with Serializable
  17. final case class ShortBuffer(buf: java.nio.ShortBuffer, offset: Int, size: Int) extends Buffer[ShortBuffer, java.nio.ShortBuffer, Short] with Product with Serializable
  18. final case class Shorts(values: Array[Short], offset: Int, length: Int) extends Chunk[Short] with KnownElementType[Short] with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[O](os: O*): Chunk[O]

    Creates a chunk with the specified values.

  5. def array[O](values: Array[O]): Chunk[O]

    Creates a chunk backed by an array.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def booleans(values: Array[Boolean], offset: Int, length: Int): Chunk[Boolean]

    Creates a chunk backed by a subsequence of an array of booleans.

  8. def booleans(values: Array[Boolean]): Chunk[Boolean]

    Creates a chunk backed by an array of booleans.

  9. def boxed[O](values: Array[O], offset: Int, length: Int): Chunk[O]

    Creates a chunk backed by a subsequence of an array.

    Creates a chunk backed by a subsequence of an array. If A is a primitive type, elements will be boxed.

  10. def boxed[O](values: Array[O]): Chunk[O]

    Creates a chunk backed by an array.

    Creates a chunk backed by an array. If O is a primitive type, elements will be boxed.

  11. def buffer[O](b: scala.collection.mutable.Buffer[O]): Chunk[O]

    Creates a chunk backed by a mutable buffer.

    Creates a chunk backed by a mutable buffer. The underlying buffer must not be modified after it is passed to this function.

  12. def byteBuffer(buf: java.nio.ByteBuffer): Chunk[Byte]

    Creates a chunk backed by an byte buffer, bounded by the current position and limit

  13. def byteVector(bv: ByteVector): Chunk[Byte]

    Creates a chunk backed by a byte vector.

  14. def bytes(values: Array[Byte], offset: Int, length: Int): Chunk[Byte]

    Creates a chunk backed by a subsequence of an array of bytes.

  15. def bytes(values: Array[Byte]): Chunk[Byte]

    Creates a chunk backed by an array of bytes.

  16. def charBuffer(buf: java.nio.CharBuffer): Chunk[Char]

    Creates a chunk backed by an char buffer, bounded by the current position and limit

  17. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  18. def concat[A](chunks: Seq[Chunk[A]]): Chunk[A]

    Concatenates the specified sequence of chunks in to a single chunk, avoiding boxing.

  19. def concatBooleans(chunks: Seq[Chunk[Boolean]]): Chunk[Boolean]

    Concatenates the specified sequence of boolean chunks in to a single chunk.

  20. def concatBytes(chunks: Seq[Chunk[Byte]]): Chunk[Byte]

    Concatenates the specified sequence of byte chunks in to a single chunk.

  21. def concatDoubles(chunks: Seq[Chunk[Double]]): Chunk[Double]

    Concatenates the specified sequence of double chunks in to a single chunk.

  22. def concatFloats(chunks: Seq[Chunk[Float]]): Chunk[Float]

    Concatenates the specified sequence of float chunks in to a single chunk.

  23. def concatInts(chunks: Seq[Chunk[Int]]): Chunk[Int]

    Concatenates the specified sequence of int chunks in to a single chunk.

  24. def concatLongs(chunks: Seq[Chunk[Long]]): Chunk[Long]

    Concatenates the specified sequence of long chunks in to a single chunk.

  25. def concatShorts(chunks: Seq[Chunk[Short]]): Chunk[Short]

    Concatenates the specified sequence of short chunks in to a single chunk.

  26. def doubleBuffer(buf: java.nio.DoubleBuffer): Chunk[Double]

    Creates a chunk backed by an double buffer, bounded by the current position and limit

  27. def doubles(values: Array[Double], offset: Int, length: Int): Chunk[Double]

    Creates a chunk backed by a subsequence of an array of doubles.

  28. def doubles(values: Array[Double]): Chunk[Double]

    Creates a chunk backed by an array of doubles.

  29. def empty[A]: Chunk[A]

    Chunk with no elements.

  30. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  32. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  33. def floatBuffer(buf: java.nio.FloatBuffer): Chunk[Float]

    Creates a chunk backed by an float buffer, bounded by the current position and limit

  34. def floats(values: Array[Float], offset: Int, length: Int): Chunk[Float]

    Creates a chunk backed by a subsequence of an array of floats.

  35. def floats(values: Array[Float]): Chunk[Float]

    Creates a chunk backed by an array of floats.

  36. implicit def fs2EqForChunk[A](implicit arg0: Eq[A]): Eq[Chunk[A]]
  37. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  38. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  39. def indexedSeq[O](s: IndexedSeq[O]): Chunk[O]

    Creates a chunk backed by an IndexedSeq.

  40. implicit val instance: Traverse[Chunk] with Monad[Chunk]
  41. def intBuffer(buf: java.nio.IntBuffer): Chunk[Int]

    Creates a chunk backed by an int buffer, bounded by the current position and limit

  42. def ints(values: Array[Int], offset: Int, length: Int): Chunk[Int]

    Creates a chunk backed by a subsequence of an array of ints.

  43. def ints(values: Array[Int]): Chunk[Int]

    Creates a chunk backed by an array of ints.

  44. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  45. def longBuffer(buf: java.nio.LongBuffer): Chunk[Long]

    Creates a chunk backed by an long buffer, bounded by the current position and limit

  46. def longs(values: Array[Long], offset: Int, length: Int): Chunk[Long]

    Creates a chunk backed by a subsequence of an array of ints.

  47. def longs(values: Array[Long]): Chunk[Long]

    Creates a chunk backed by an array of longs.

  48. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  49. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  50. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  51. def seq[O](s: Seq[O]): Chunk[O]

    Creates a chunk backed by a Seq.

  52. def shortBuffer(buf: java.nio.ShortBuffer): Chunk[Short]

    Creates a chunk backed by an short buffer, bounded by the current position and limit

  53. def shorts(values: Array[Short], offset: Int, length: Int): Chunk[Short]

    Creates a chunk backed by a subsequence of an array of shorts.

  54. def shorts(values: Array[Short]): Chunk[Short]

    Creates a chunk backed by an array of shorts.

  55. def singleton[O](o: O): Chunk[O]

    Creates a chunk consisting of a single element.

  56. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  57. def toString(): String
    Definition Classes
    AnyRef → Any
  58. def vector[O](v: Vector[O]): Chunk[O]

    Creates a chunk backed by a vector.

  59. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  62. object Booleans extends Serializable
  63. object Boxed extends Serializable
  64. object ByteBuffer extends Serializable
  65. object Bytes extends Serializable
  66. object CharBuffer extends Serializable
  67. object DoubleBuffer extends Serializable
  68. object Doubles extends Serializable
  69. object FloatBuffer extends Serializable
  70. object Floats extends Serializable
  71. object IntBuffer extends Serializable
  72. object Ints extends Serializable
  73. object LongBuffer extends Serializable
  74. object Longs extends Serializable
  75. object ShortBuffer extends Serializable
  76. object Shorts extends Serializable

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped