Class

xerial.larray.LArrayView

LBitArrayView

Related Doc: package LArrayView

Permalink

class LBitArrayView extends LArrayView[Boolean] with LBitArrayOps

Source
LArrayView.scala
Linear Supertypes
LBitArrayOps, LArrayView[Boolean], LSeq[Boolean], LIterable[Boolean], Logger, Serializable, Serializable, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LBitArrayView
  2. LBitArrayOps
  3. LArrayView
  4. LSeq
  5. LIterable
  6. Logger
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LBitArrayView(base: LBitArray, offset: Long, size: Long)

    Permalink

Type Members

  1. type Repr = LArray[Boolean]

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

    Permalink
    Definition Classes
    LIterable

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[Boolean]): Repr

    Permalink

    Create a new array that concatenates two arrays

    Create a new array that concatenates two arrays

    Definition Classes
    LIterable
  4. def +:(elem: Boolean): 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, Boolean) ⇒ 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: Boolean): 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: (Boolean, 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 address: Long

    Permalink

    Raw-memory address of this array

    Raw-memory address of this array

    Definition Classes
    LBitArrayViewLSeq
  11. def aggregate[B](z: B)(seqop: (B, Boolean) ⇒ B, combop: (B, B) ⇒ B): B

    Permalink
    Definition Classes
    LIterable
  12. def apply(i: Long): Boolean

    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
    LBitArrayViewLSeq
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def byteLength: Long

    Permalink

    Byte length of this array.

    Byte length of this array.

    Definition Classes
    LSeq
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def collect[B](pf: PartialFunction[Boolean, 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
  17. def collectFirst[B](pf: PartialFunction[Boolean, 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
  18. def concat(other: LSeq[Boolean]): Repr

    Permalink

    Create a new array that concatenates two arrays

    Create a new array that concatenates two arrays

    Definition Classes
    LIterable
  19. def contains(elem: Boolean): Boolean

    Permalink
    Definition Classes
    LIterable
  20. 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
    LBitArrayViewLSeq
  21. 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
    LBitArrayViewLSeq
  22. def copyToArray[B >: Boolean](xs: LArray[B], start: Long, len: Long): Unit

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

    Permalink
    Definition Classes
    LIterable
  24. def count(checkTrue: Boolean, start: Long, end: Long): Long

    Permalink

    Count the number of bits within the specified range [start, end)

    Count the number of bits within the specified range [start, end)

    checkTrue

    count true or false

    returns

    the number of occurrences

    Definition Classes
    LBitArrayViewLBitArrayOps
  25. def debug(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  26. def drop(n: Long): Repr

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  30. def error(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  31. def exists(p: (Boolean) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    LIterable
  32. def fatal(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  33. def filter(pred: (Boolean) ⇒ Boolean): LIterator[Boolean]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    LSeq
    Annotations
    @inline()
  49. def getLogger(tag: String): LogWriter

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  50. def getLogger(tag: Symbol): LogWriter

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  51. def getLong(offset: Long): Long

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  54. def head: Boolean

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

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

    Permalink
    Definition Classes
    LIterable
  57. def info(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  58. def init: Repr

    Permalink
    Definition Classes
    LIterable
  59. def isEmpty: Boolean

    Permalink

    Tests whether this sequence is empty

    Tests whether this sequence is empty

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

    Permalink
    Definition Classes
    Any
  61. def iterator: LIterator[Boolean]

    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
  62. def ji: Iterable[Boolean]

    Permalink

    Provides the Iterable interface for Java

    Provides the Iterable interface for Java

    Definition Classes
    LIterable
  63. def last: Boolean

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

    Permalink
    Definition Classes
    LIterable
  65. def length: Long

    Permalink
    Definition Classes
    LIterable
  66. def log[U](tag: String)(f: (LogWriter) ⇒ U): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  67. def log(logLevel: LogLevel, message: ⇒ Any): Unit

    Permalink
    Definition Classes
    Logger
  68. def map[B](f: (Boolean) ⇒ B): LIterator[B]

    Permalink
    Definition Classes
    LIterable
  69. def mkString: String

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

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

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

    Permalink
    Definition Classes
    AnyRef
  73. def newBuilder: LBitArrayBuilder

    Permalink
    Attributes
    protected[this]
    Definition Classes
    LBitArrayViewLIterable
  74. final def notify(): Unit

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    LIterable
  85. def reverseIterator: LIterator[Boolean]

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

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

    Permalink

    Save to a file.

    Save to a file.

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

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

    Permalink
    Definition Classes
    LIterable
  90. val size: Long

    Permalink

    Element size of this array

    Element size of this array

    returns

    size of this array

    Definition Classes
    LBitArrayViewLSeq
  91. def slice(from: Long, until: Long): LBitArray

    Permalink

    Extract a slice of the sequence [start, end)

    Extract a slice of the sequence [start, end)

    Definition Classes
    LBitArrayViewLBitArrayOpsLIterable
  92. def slice(from: Long): LArray[Boolean]

    Permalink
    Definition Classes
    LIterable
  93. 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
  94. 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
  95. def span(p: (Boolean) ⇒ Boolean): (Repr, Repr)

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

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

    Permalink
    Definition Classes
    AnyRef
  98. def tail: LArray[Boolean]

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

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

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

    Permalink
    Definition Classes
    LIterable
  102. def toArray[A1 >: Boolean](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
  103. 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
  104. def toIterator: LIterator[Boolean]

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

    Permalink
    Definition Classes
    AnyRef → Any
  106. def trace(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  107. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  110. def warn(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  111. def withFilter(p: (Boolean) ⇒ Boolean): LIterator[Boolean]

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

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

    Permalink
    Definition Classes
    LIterable
  114. def zipWithIndex: LIterator[(Boolean, Long)]

    Permalink
    Definition Classes
    LIterable

Inherited from LBitArrayOps

Inherited from LArrayView[Boolean]

Inherited from LSeq[Boolean]

Inherited from LIterable[Boolean]

Inherited from Logger

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped