Trait

xerial.larray

LIterable

Related Doc: package larray

Permalink

trait LIterable[A] extends AnyRef

Iterable interface for LArray.

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

Type Members

  1. type Repr = LArray[A]

    Permalink
  2. class SlidingIterator extends AbstractLIterator[LSeq.Repr]

    Permalink

Abstract Value Members

  1. abstract def newBuilder: LBuilder[A, LSeq.Repr]

    Permalink
    Attributes
    protected[this]

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]): LSeq.Repr

    Permalink

    Create a new array that concatenates two arrays

  4. def +:(elem: A): LSeq.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.

  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)))
  6. def :+(elem: A): LSeq.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

  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)...))
  8. final def ==(arg0: Any): Boolean

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

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

    Permalink
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. 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.

  14. 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.

  15. def concat(other: LSeq[A]): LSeq.Repr

    Permalink

    Create a new array that concatenates two arrays

  16. def contains(elem: A): Boolean

    Permalink
  17. def copyToArray[B >: A](xs: LArray[B], start: Long, len: Long): Unit

    Permalink
  18. def copyToArray[B >: A](xs: Array[B], start: Int, len: Int): Unit

    Permalink
  19. def drop(n: Long): LSeq.Repr

    Permalink
  20. def dropWhile(p: (A) ⇒ Boolean): LSeq.Repr

    Permalink
  21. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
  24. def filter(pred: (A) ⇒ Boolean): LIterator[A]

    Permalink
  25. def filterNot(pred: (A) ⇒ Boolean): LIterator[A]

    Permalink
  26. def finalize(): Unit

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

    Permalink
  28. def flatMap[B](f: (A) ⇒ LIterator[B]): LIterator[B]

    Permalink
  29. def fold[A1 >: A](z: A1)(op: (A1, A1) ⇒ A1): A1

    Permalink
  30. def foldLeft[B](z: B)(op: (B, A) ⇒ B): B

    Permalink
  31. def foldRight[B](z: B)(op: (A, B) ⇒ B): B

    Permalink
  32. def forall(p: (A) ⇒ Boolean): Boolean

    Permalink
  33. def foreach[U](f: (A) ⇒ U): Unit

    Permalink
  34. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  35. def hashCode(): Int

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

    Permalink
  37. def indexOf[B >: A](elem: B): Long

    Permalink
  38. def indexWhere(p: (A) ⇒ Boolean, from: Long): Long

    Permalink
  39. def init: LSeq.Repr

    Permalink
  40. def isEmpty: Boolean

    Permalink

    Tests whether this sequence is empty

  41. final def isInstanceOf[T0]: Boolean

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

    Permalink

    Creates a new iterator over all elements contained in this collection

  43. def ji: Iterable[A]

    Permalink

    Provides the Iterable interface for Java

  44. def last: A

    Permalink
  45. def lastIndexWhere(p: (A) ⇒ Boolean, end: Int): Int

    Permalink
  46. def length: Long

    Permalink
  47. def map[B](f: (A) ⇒ B): LIterator[B]

    Permalink
  48. def mkString: String

    Permalink
  49. def mkString(sep: String): String

    Permalink
  50. def mkString(start: String, sep: String, end: String): String

    Permalink
  51. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
  55. def prefixLength(p: (A) ⇒ Boolean): Long

    Permalink
  56. def reduce[A1 >: A](op: (A1, A1) ⇒ A1): A1

    Permalink
  57. def reduceLeft[B >: A](op: (B, A) ⇒ B): B

    Permalink
  58. def reduceLeftOption[B >: A](op: (B, A) ⇒ B): Option[B]

    Permalink
  59. def reduceOption[A1 >: A](op: (A1, A1) ⇒ A1): Option[A1]

    Permalink
  60. def reduceRight[B >: A](op: (A, B) ⇒ B): B

    Permalink
  61. def reduceRightOption[B >: A](op: (A, B) ⇒ B): Option[B]

    Permalink
  62. def reverse[A]: LSeq.Repr

    Permalink
  63. def reverseIterator: LIterator[A]

    Permalink
  64. def sameElements[B >: A](that: LIterable[B]): Boolean

    Permalink
  65. def scanLeft[B](z: B)(op: (B, A) ⇒ B): LIterator[B]

    Permalink
  66. def segmentLength(p: (A) ⇒ Boolean, from: Long): Long

    Permalink
  67. def slice(from: Long, until: Long): LArray[A]

    Permalink
  68. def slice(from: Long): LArray[A]

    Permalink
  69. def sliding(size: Long, step: Long): LIterator[LSeq.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.

  70. def sliding(size: Int): LIterator[LSeq.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.

  71. def span(p: (A) ⇒ Boolean): (LSeq.Repr, LSeq.Repr)

    Permalink
  72. def splitAt(n: Long): (LSeq.Repr, LSeq.Repr)

    Permalink
  73. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
  75. def take(n: Long): LSeq.Repr

    Permalink
  76. def takeRight(n: Long): LSeq.Repr

    Permalink
  77. def takeWhile(p: (A) ⇒ Boolean): LSeq.Repr

    Permalink
  78. 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

  79. def toIterator: LIterator[A]

    Permalink
  80. def toString(): String

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

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

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

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

    Permalink
  85. def zip[B](that: LIterable[B]): LIterator[(A, B)]

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

    Permalink
  87. def zipWithIndex: LIterator[(A, Long)]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped