object Chunk extends Serializable
- Source
- Chunk.scala
- Alphabetic
- By Inheritance
- Chunk
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final case class Booleans(values: Array[Boolean], offset: Int, length: Int) extends Chunk[Boolean] with Product with Serializable
- final case class Boxed[O](values: Array[O], offset: Int, length: Int) extends Chunk[O] with Product with Serializable
- final case class ByteBuffer extends Chunk[Byte] with Product with Serializable
- final case class Bytes(values: Array[Byte], offset: Int, length: Int) extends Chunk[Byte] with Product with Serializable
- final case class Doubles(values: Array[Double], offset: Int, length: Int) extends Chunk[Double] with Product with Serializable
- final case class Floats(values: Array[Float], offset: Int, length: Int) extends Chunk[Float] with Product with Serializable
- final case class Ints(values: Array[Int], offset: Int, length: Int) extends Chunk[Int] with Product with Serializable
- final case class Longs(values: Array[Long], offset: Int, length: Int) extends Chunk[Long] with Product with Serializable
- final case class Shorts(values: Array[Short], offset: Int, length: Int) extends Chunk[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[O](os: O*): Chunk[O]
Creates a chunk with the specified values.
-
def
array[O](values: Array[O]): Chunk[O]
Creates a chunk backed by an array.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
booleans(values: Array[Boolean], offset: Int, length: Int): Chunk[Boolean]
Creates a chunk backed by a subsequence of an array of booleans.
-
def
booleans(values: Array[Boolean]): Chunk[Boolean]
Creates a chunk backed by an array of booleans.
-
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. -
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. -
def
byteBuffer(buf: java.nio.ByteBuffer): Chunk[Byte]
Creates a chunk backed by an byte buffer, bounded by the current position and limit
-
def
bytes(values: Array[Byte], offset: Int, length: Int): Chunk[Byte]
Creates a chunk backed by a subsequence of an array of bytes.
-
def
bytes(values: Array[Byte]): Chunk[Byte]
Creates a chunk backed by an array of bytes.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
doubles(values: Array[Double], offset: Int, length: Int): Chunk[Double]
Creates a chunk backed by a subsequence of an array of doubles.
-
def
doubles(values: Array[Double]): Chunk[Double]
Creates a chunk backed by an array of doubles.
-
def
empty[A]: Chunk[A]
Chunk with no elements.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
floats(values: Array[Float], offset: Int, length: Int): Chunk[Float]
Creates a chunk backed by a subsequence of an array of floats.
-
def
floats(values: Array[Float]): Chunk[Float]
Creates a chunk backed by an array of floats.
- implicit def fs2EqForChunk[A](implicit arg0: Eq[A]): Eq[Chunk[A]]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
indexedSeq[O](s: IndexedSeq[O]): Chunk[O]
Creates a chunk backed by an
IndexedSeq
. - implicit val instance: Traverse[Chunk] with Monad[Chunk]
-
def
ints(values: Array[Int], offset: Int, length: Int): Chunk[Int]
Creates a chunk backed by a subsequence of an array of ints.
-
def
ints(values: Array[Int]): Chunk[Int]
Creates a chunk backed by an array of ints.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
longs(values: Array[Long], offset: Int, length: Int): Chunk[Long]
Creates a chunk backed by a subsequence of an array of ints.
-
def
longs(values: Array[Long]): Chunk[Long]
Creates a chunk backed by an array of longs.
-
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
seq[O](s: Seq[O]): Chunk[O]
Creates a chunk backed by a
Seq
. -
def
shorts(values: Array[Short], offset: Int, length: Int): Chunk[Short]
Creates a chunk backed by a subsequence of an array of shorts.
-
def
shorts(values: Array[Short]): Chunk[Short]
Creates a chunk backed by an array of shorts.
-
def
singleton[O](o: O): Chunk[O]
Creates a chunk consisting of a single element.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
vector[O](v: Vector[O]): Chunk[O]
Creates a chunk backed by a vector.
-
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
- @native() @throws( ... )
- object Booleans extends Serializable
- object Boxed extends Serializable
- object ByteBuffer extends Serializable
- object Bytes extends Serializable
- object Doubles extends Serializable
- object Floats extends Serializable
- object Ints extends Serializable
- object Longs extends Serializable
- object Shorts extends Serializable