Trait/Object

xerial.larray

LArrayView

Related Docs: object LArrayView | package larray

Permalink

trait LArrayView[A] extends LSeq[A]

Shallow-copy reference of the part of LArray

Source
LArrayView.scala
Linear Supertypes
LSeq[A], LIterable[A], AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LArrayView
  2. LSeq
  3. LIterable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Repr = LArray[A]

    Permalink
    Definition Classes
    LIterable
  2. class SlidingIterator extends AbstractLIterator[LSeq.Repr]

    Permalink
    Definition Classes
    LIterable

Abstract Value Members

  1. abstract def address: Long

    Permalink

    Raw-memory address of this array

    Raw-memory address of this array

    Definition Classes
    LSeq
    Annotations
    @inline()
  2. abstract def apply(i: Long): A

    Permalink

    Retrieve an element at the given index.

    Retrieve an element at the given index. LArray does not perform boundary checks for optimizing the performance, so reading the indexes out of bounds might cause JVM crash.

    i

    index

    returns

    the element value

    Definition Classes
    LSeq
    Annotations
    @inline()
  3. abstract def copyTo[B](srcOffset: Long, dst: RawByteArray[B], dstOffset: Long, blen: Long): Unit

    Permalink

    Copy the contents of this sequence into the target LByteArray

    Copy the contents of this sequence into the target LByteArray

    blen

    the byte length to copy

    Definition Classes
    LSeq
  4. abstract def copyTo(dst: LByteArray, dstOffset: Long): Unit

    Permalink

    Copy the contents of this LSeq[A] into the target LByteArray

    Copy the contents of this LSeq[A] into the target LByteArray

    Definition Classes
    LSeq
  5. abstract def newBuilder: LBuilder[A, Repr]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    LIterable
  6. abstract def size: Long

    Permalink

    Element size of this array

    Element size of this array

    returns

    size of this array

    Definition Classes
    LSeq

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++(other: LSeq[A]): Repr

    Permalink

    Create a new array that concatenates two arrays

    Create a new array that concatenates two arrays

    Definition Classes
    LIterable
  4. def +:(elem: A): Repr

    Permalink

    Copy of thie array with an element prepended.

    Copy of thie array with an element prepended.

    elem

    the prepended element.

    returns

    a new array consisting ofall elements of this array preceded by the new elem.

    Definition Classes
    LIterable
  5. def /:[B](z: B)(op: (B, A) ⇒ B): B

    Permalink

    fold left

    fold left

    B

    the result type of the binary operator

    z

    the start value

    op

    the binary operator

    returns

    the result of inserting op between consecutive elements of this array, going left to right with the start value z on the left:

    op(...op(op(z, x1), x2), ..., xn)))
    Definition Classes
    LIterable
  6. def :+(elem: A): Repr

    Permalink

    Copy of this array with an element appended.

    Copy of this array with an element appended.

    elem

    the appended element

    returns

    a new array consisting of all elements of this array follwed by the new elem

    Definition Classes
    LIterable
  7. def :\[B](z: B)(op: (A, B) ⇒ B): B

    Permalink

    fold right

    fold right

    B

    the result type of the binary operator

    z

    the start value

    op

    the binary operator

    returns

    the result of inserting op between consecutive elements of this array, going right to left with the start value z on the right:

    op(x1, op(x2, ..., op(xn, z)...))
    Definition Classes
    LIterable
  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Permalink
    Definition Classes
    LIterable
  10. def aggregate[B](z: B)(seqop: (B, A) ⇒ B, combop: (B, B) ⇒ B): B

    Permalink
    Definition Classes
    LIterable
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def byteLength: Long

    Permalink

    Byte length of this array.

    Byte length of this array.

    Definition Classes
    LSeq
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def collect[B](pf: PartialFunction[A, B]): LIterator[B]

    Permalink

    Builds a new collection by applying a partial function to all elments of this array on which the function is defined.

    Builds a new collection by applying a partial function to all elments of this array on which the function is defined.

    Definition Classes
    LIterable
  15. def collectFirst[B](pf: PartialFunction[A, B]): Option[B]

    Permalink

    Finds the first element of this array on which the given partial function is defined, and applies the partial function to it.

    Finds the first element of this array on which the given partial function is defined, and applies the partial function to it.

    B

    return type

    pf

    partial function

    returns

    an option value containing pf applied to the first value for which the function is defined, or None if not exists.

    Definition Classes
    LIterable
  16. def concat(other: LSeq[A]): Repr

    Permalink

    Create a new array that concatenates two arrays

    Create a new array that concatenates two arrays

    Definition Classes
    LIterable
  17. def contains(elem: A): Boolean

    Permalink
    Definition Classes
    LIterable
  18. def copyToArray[B >: A](xs: LArray[B], start: Long, len: Long): Unit

    Permalink
    Definition Classes
    LIterable
  19. def copyToArray[B >: A](xs: Array[B], start: Int, len: Int): Unit

    Permalink
    Definition Classes
    LIterable
  20. def drop(n: Long): Repr

    Permalink
    Definition Classes
    LIterable
  21. def dropWhile(p: (A) ⇒ Boolean): Repr

    Permalink
    Definition Classes
    LIterable
  22. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  24. def exists(p: (A) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    LIterable
  25. def filter(pred: (A) ⇒ Boolean): LIterator[A]

    Permalink
    Definition Classes
    LIterable
  26. def filterNot(pred: (A) ⇒ Boolean): LIterator[A]

    Permalink
    Definition Classes
    LIterable
  27. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. def find(p: (A) ⇒ Boolean): Option[A]

    Permalink
    Definition Classes
    LIterable
  29. def flatMap[B](f: (A) ⇒ LIterator[B]): LIterator[B]

    Permalink
    Definition Classes
    LIterable
  30. def fold[A1 >: A](z: A1)(op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    LIterable
  31. def foldLeft[B](z: B)(op: (B, A) ⇒ B): B

    Permalink
    Definition Classes
    LIterable
  32. def foldRight[B](z: B)(op: (A, B) ⇒ B): B

    Permalink
    Definition Classes
    LIterable
  33. def forall(p: (A) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    LIterable
  34. def foreach[U](f: (A) ⇒ U): Unit

    Permalink
    Definition Classes
    LIterable
  35. def getByte(offset: Long): Byte

    Permalink
    Definition Classes
    LSeq
    Annotations
    @inline()
  36. def getChar(offset: Long): Char

    Permalink
    Definition Classes
    LSeq
    Annotations
    @inline()
  37. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  38. def getDouble(offset: Long): Double

    Permalink
    Definition Classes
    LSeq
    Annotations
    @inline()
  39. def getFloat(offset: Long): Float

    Permalink
    Definition Classes
    LSeq
    Annotations
    @inline()
  40. def getInt(offset: Long): Int

    Permalink
    Definition Classes
    LSeq
    Annotations
    @inline()
  41. def getLong(offset: Long): Long

    Permalink
    Definition Classes
    LSeq
    Annotations
    @inline()
  42. def getShort(offset: Long): Short

    Permalink
    Definition Classes
    LSeq
    Annotations
    @inline()
  43. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  44. def head: A

    Permalink
    Definition Classes
    LIterable
  45. def indexOf[B >: A](elem: B): Long

    Permalink
    Definition Classes
    LIterable
  46. def indexWhere(p: (A) ⇒ Boolean, from: Long): Long

    Permalink
    Definition Classes
    LIterable
  47. def init: Repr

    Permalink
    Definition Classes
    LIterable
  48. def isEmpty: Boolean

    Permalink

    Tests whether this sequence is empty

    Tests whether this sequence is empty

    Definition Classes
    LIterable
  49. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  50. def iterator: LIterator[A]

    Permalink

    Creates a new iterator over all elements contained in this collection

    Creates a new iterator over all elements contained in this collection

    Definition Classes
    LIterable
  51. def ji: Iterable[A]

    Permalink

    Provides the Iterable interface for Java

    Provides the Iterable interface for Java

    Definition Classes
    LIterable
  52. def last: A

    Permalink
    Definition Classes
    LIterable
  53. def lastIndexWhere(p: (A) ⇒ Boolean, end: Int): Int

    Permalink
    Definition Classes
    LIterable
  54. def length: Long

    Permalink
    Definition Classes
    LIterable
  55. def map[B](f: (A) ⇒ B): LIterator[B]

    Permalink
    Definition Classes
    LIterable
  56. def mkString: String

    Permalink
    Definition Classes
    LIterable
  57. def mkString(sep: String): String

    Permalink
    Definition Classes
    LIterable
  58. def mkString(start: String, sep: String, end: String): String

    Permalink
    Definition Classes
    LIterable
  59. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  60. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  61. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  62. def partition(p: (A) ⇒ Boolean): (LIterator[A], LIterator[A])

    Permalink
    Definition Classes
    LIterable
  63. def prefixLength(p: (A) ⇒ Boolean): Long

    Permalink
    Definition Classes
    LIterable
  64. def reduce[A1 >: A](op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    LIterable
  65. def reduceLeft[B >: A](op: (B, A) ⇒ B): B

    Permalink
    Definition Classes
    LIterable
  66. def reduceLeftOption[B >: A](op: (B, A) ⇒ B): Option[B]

    Permalink
    Definition Classes
    LIterable
  67. def reduceOption[A1 >: A](op: (A1, A1) ⇒ A1): Option[A1]

    Permalink
    Definition Classes
    LIterable
  68. def reduceRight[B >: A](op: (A, B) ⇒ B): B

    Permalink
    Definition Classes
    LIterable
  69. def reduceRightOption[B >: A](op: (A, B) ⇒ B): Option[B]

    Permalink
    Definition Classes
    LIterable
  70. def reverse[A]: Repr

    Permalink
    Definition Classes
    LIterable
  71. def reverseIterator: LIterator[A]

    Permalink
    Definition Classes
    LIterable
  72. def sameElements[B >: A](that: LIterable[B]): Boolean

    Permalink
    Definition Classes
    LIterable
  73. def saveTo(f: File): File

    Permalink

    Save to a file.

    Save to a file.

    Definition Classes
    LSeq
  74. def scanLeft[B](z: B)(op: (B, A) ⇒ B): LIterator[B]

    Permalink
    Definition Classes
    LIterable
  75. def segmentLength(p: (A) ⇒ Boolean, from: Long): Long

    Permalink
    Definition Classes
    LIterable
  76. def slice(from: Long, until: Long): LArray[A]

    Permalink
    Definition Classes
    LIterable
  77. def slice(from: Long): LArray[A]

    Permalink
    Definition Classes
    LIterable
  78. def sliding(size: Long, step: Long): LIterator[Repr]

    Permalink

    Groups elemnts in fixed size blocks by passing a 'sliding window' over them.

    Groups elemnts in fixed size blocks by passing a 'sliding window' over them.

    size

    the number of elements per group

    step

    the distance between the first elements of successive groups

    returns

    An itertor producing group of elements.

    Definition Classes
    LIterable
  79. def sliding(size: Int): LIterator[Repr]

    Permalink

    Groups elements in fixed size blocks by passing a 'sliding window' over them

    Groups elements in fixed size blocks by passing a 'sliding window' over them

    size

    the number of elements per group

    returns

    An iterator producing group of elements.

    Definition Classes
    LIterable
  80. def span(p: (A) ⇒ Boolean): (Repr, Repr)

    Permalink
    Definition Classes
    LIterable
  81. def splitAt(n: Long): (Repr, Repr)

    Permalink
    Definition Classes
    LIterable
  82. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  83. def tail: LArray[A]

    Permalink
    Definition Classes
    LIterable
  84. def take(n: Long): Repr

    Permalink
    Definition Classes
    LIterable
  85. def takeRight(n: Long): Repr

    Permalink
    Definition Classes
    LIterable
  86. def takeWhile(p: (A) ⇒ Boolean): Repr

    Permalink
    Definition Classes
    LIterable
  87. def toArray[A1 >: A](implicit arg0: ClassTag[A1]): Array[A1]

    Permalink

    Creates a copy of this array in the form of the standard Scala Array

    Creates a copy of this array in the form of the standard Scala Array

    Definition Classes
    LIterable
  88. def toDirectByteBuffer: Array[ByteBuffer]

    Permalink

    Create a sequence of DirectByteBuffer that projects LArray contents

    Create a sequence of DirectByteBuffer that projects LArray contents

    returns

    sequence of java.nio.ByteBuffer

    Definition Classes
    LSeq
  89. def toIterator: LIterator[A]

    Permalink
    Definition Classes
    LIterable
  90. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  91. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  92. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  93. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  94. def withFilter(p: (A) ⇒ Boolean): LIterator[A]

    Permalink
    Definition Classes
    LIterable
  95. def zip[B](that: LIterable[B]): LIterator[(A, B)]

    Permalink
    Definition Classes
    LIterable
  96. def zipAll[B, A1 >: A, B1 >: B](that: LIterable[B], thisElem: A1, thatElem: B1): LIterator[(A1, B1)]

    Permalink
    Definition Classes
    LIterable
  97. def zipWithIndex: LIterator[(A, Long)]

    Permalink
    Definition Classes
    LIterable

Inherited from LSeq[A]

Inherited from LIterable[A]

Inherited from AnyRef

Inherited from Any

Ungrouped