scalax.io

LongTraversableView

trait LongTraversableView [+A, +Coll] extends LongTraversableViewLike[A, Coll, LongTraversableView[A, Coll]]

The view object associated with LongTraversable. If you are nor familiar with the pattern essentially a view allows the data to be loaded lazily and only as necessary. So you can perform slices and maps without loading any data. Only when the data is pulled will it actually be loaded.

The behaviour is the essentially the same as for http://www.scala-lang.org/api/current/scala/collection/TraversableView.html except adding the LongTraversable methods

Linear Supertypes
LongTraversableViewLike[A, Coll, LongTraversableView[A, Coll]], TraversableView[A, Coll], GenTraversableView[A, Coll], TraversableViewLike[A, Coll, LongTraversableView[A, Coll]], GenTraversableViewLike[A, Coll, LongTraversableView[A, Coll]], ViewMkString[A], LongTraversable[A], LongTraversableLike[A, LongTraversableView[A, Coll]], Traversable[A], GenTraversable[A], GenericTraversableTemplate[A, LongTraversable], TraversableLike[A, LongTraversableView[A, Coll]], GenTraversableLike[A, LongTraversableView[A, Coll]], Parallelizable[A, ParIterable[A]], TraversableOnce[A], GenTraversableOnce[A], FilterMonadic[A, LongTraversableView[A, Coll]], HasNewBuilder[A, LongTraversableView[A, Coll]], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. LongTraversableView
  2. LongTraversableViewLike
  3. TraversableView
  4. GenTraversableView
  5. TraversableViewLike
  6. GenTraversableViewLike
  7. ViewMkString
  8. LongTraversable
  9. LongTraversableLike
  10. Traversable
  11. GenTraversable
  12. GenericTraversableTemplate
  13. TraversableLike
  14. GenTraversableLike
  15. Parallelizable
  16. TraversableOnce
  17. GenTraversableOnce
  18. FilterMonadic
  19. HasNewBuilder
  20. AnyRef
  21. Any
Visibility
  1. Public
  2. All

Type Members

  1. trait Appended [B >: A] extends Appended[B] with Transformed[B]

    Definition Classes
    LongTraversableViewLike → TraversableViewLike → GenTraversableViewLike
  2. trait DroppedWhile extends DroppedWhile with Transformed[A]

    Definition Classes
    LongTraversableViewLike → TraversableViewLike → GenTraversableViewLike
  3. trait EmptyView extends Transformed[Nothing] with EmptyView

    Definition Classes
    LongTraversableViewLike → TraversableViewLike → GenTraversableViewLike
  4. trait Filtered extends Filtered with Transformed[A]

    Definition Classes
    LongTraversableViewLike → TraversableViewLike → GenTraversableViewLike
  5. trait FlatMapped [B] extends FlatMapped[B] with Transformed[B]

    Definition Classes
    LongTraversableViewLike → TraversableViewLike → GenTraversableViewLike
  6. trait Forced [B] extends Forced[B] with Transformed[B]

    Definition Classes
    LongTraversableViewLike → TraversableViewLike → GenTraversableViewLike
  7. trait LSliced extends Transformed[A]

  8. trait Mapped [B] extends Mapped[B] with Transformed[B]

    Definition Classes
    LongTraversableViewLike → TraversableViewLike → GenTraversableViewLike
  9. type Self = LongTraversableView[A, Coll]

    Attributes
    protected
    Definition Classes
    TraversableLike
  10. trait TakenWhile extends TakenWhile with Transformed[A]

    Definition Classes
    LongTraversableViewLike → TraversableViewLike → GenTraversableViewLike
  11. trait Transformed [+B] extends LongTraversableView[B, Coll] with Transformed[B]

    Definition Classes
    LongTraversableViewLike → TraversableViewLike → GenTraversableViewLike
  12. trait Zipped [B] extends Transformed[(A, B)]

  13. trait ZippedAll [A1 >: A, B] extends Transformed[(A1, B)]

Abstract Value Members

  1. def iterator : CloseableIterator[A]

    Attributes
    protected[io] abstract
    Definition Classes
    LongTraversableLike
  2. def underlying : Coll

    Attributes
    protected abstract
    Definition Classes
    TraversableViewLike → GenTraversableViewLike

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def ++ [B >: A, That] (xs: GenTraversableOnce[B])(implicit bf: CanBuildFrom[LongTraversableView[A, Coll], B, That]): That

    Definition Classes
    TraversableViewLike → TraversableLike → GenTraversableLike
  5. def ++ [B >: A, That] (that: TraversableOnce[B])(implicit bf: CanBuildFrom[LongTraversableView[A, Coll], B, That]): That

    Definition Classes
    TraversableLike
    Annotations
    @bridge()
  6. def ++: [B >: A, That] (that: Traversable[B])(implicit bf: CanBuildFrom[LongTraversableView[A, Coll], B, That]): That

    Definition Classes
    TraversableLike
  7. def ++: [B >: A, That] (that: TraversableOnce[B])(implicit bf: CanBuildFrom[LongTraversableView[A, Coll], B, That]): That

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  9. def /:\ [A1 >: A] (z: A1)(op: (A1, A1) ⇒ A1): A1

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  11. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  12. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  13. def addString (b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Definition Classes
    ViewMkString
  14. def addString (b: StringBuilder): StringBuilder

    Definition Classes
    TraversableOnce
  15. def addString (b: StringBuilder, sep: String): StringBuilder

    Definition Classes
    TraversableOnce
  16. def aggregate [B] (z: B)(seqop: (B, A) ⇒ B, combop: (B, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  17. def apply (idx: Long): A

    Selects an element by its index in the $coll.

    Selects an element by its index in the $coll.

    idx

    The index to select.

    returns

    the element of this $coll at index idx, where 0 indicates the first element.

    Definition Classes
    LongTraversableLike
  18. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  19. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  20. def collect [B, That] (pf: PartialFunction[A, B])(implicit bf: CanBuildFrom[LongTraversableView[A, Coll], B, That]): That

    Definition Classes
    TraversableViewLike → TraversableLike → GenTraversableLike
  21. def collectFirst [B] (pf: PartialFunction[A, B]): Option[B]

    Definition Classes
    TraversableOnce
  22. def companion : GenericCompanion[LongTraversable]

    Definition Classes
    LongTraversable → Traversable → GenTraversable → GenericTraversableTemplate
  23. def containsSlice [B] (that: Seq[B], start: Long): Boolean

    Tests whether this $coll contains a given sequence as a slice.

    Tests whether this $coll contains a given sequence as a slice. $mayNotTerminateInf

    that

    the sequence to test

    returns

    true if this $coll contains a slice with the same elements as that, otherwise false.

    Definition Classes
    LongTraversableLike
  24. def containsSlice [B] (that: Seq[B]): Boolean

    Tests whether this $coll contains a given sequence as a slice.

    Tests whether this $coll contains a given sequence as a slice. $mayNotTerminateInf

    that

    the sequence to test

    returns

    true if this $coll contains a slice with the same elements as that, otherwise false.

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

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  26. def copyToArray [B >: A] (xs: Array[B]): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  27. def copyToArray [B >: A] (xs: Array[B], start: Int): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  28. def copyToBuffer [B >: A] (dest: Buffer[B]): Unit

    Definition Classes
    TraversableOnce
  29. def corresponds [B] (that: LongTraversable[B])(p: (A, B) ⇒ Boolean): Boolean

    Tests whether every element of this $coll relates to the corresponding element of another sequence by satisfying a test predicate.

    Tests whether every element of this $coll relates to the corresponding element of another sequence by satisfying a test predicate.

    B

    the type of the elements of that

    that

    the other sequence

    p

    the test predicate, which relates elements from both sequences

    returns

    true if both sequences have the same length and p(x, y) is true for all corresponding elements x of this $coll and y of that, otherwise false.

    Definition Classes
    LongTraversableLike
  30. def corresponds [B] (that: Seq[B])(p: (A, B) ⇒ Boolean): Boolean

    Tests whether every element of this $coll relates to the corresponding element of another sequence by satisfying a test predicate.

    Tests whether every element of this $coll relates to the corresponding element of another sequence by satisfying a test predicate.

    B

    the type of the elements of that

    that

    the other sequence

    p

    the test predicate, which relates elements from both sequences

    returns

    true if both sequences have the same length and p(x, y) is true for all corresponding elements x of this $coll and y of that, otherwise false.

    Definition Classes
    LongTraversableLike
  31. def count (p: (A) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  32. def drop (n: Int): LongTraversableView[A, Coll]

    Definition Classes
    LongTraversableViewLike → TraversableViewLike → TraversableLike → GenTraversableLike
  33. def dropWhile (p: (A) ⇒ Boolean): LongTraversableView[A, Coll]

    Definition Classes
    TraversableViewLike → TraversableLike → GenTraversableLike
  34. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  35. def equals (arg0: Any): Boolean

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

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  37. def filter (p: (A) ⇒ Boolean): LongTraversableView[A, Coll]

    Definition Classes
    TraversableViewLike → TraversableLike → GenTraversableLike
  38. def filterNot (p: (A) ⇒ Boolean): LongTraversableView[A, Coll]

    Definition Classes
    TraversableLike → GenTraversableLike
  39. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  40. def find (p: (A) ⇒ Boolean): Option[A]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  41. def flatMap [B, That] (f: (A) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[LongTraversableView[A, Coll], B, That]): That

    Definition Classes
    TraversableViewLike → TraversableLike → GenTraversableLike → FilterMonadic
  42. def flatten [B] (implicit asTraversable: (A) ⇒ TraversableOnce[B]): Traversable[B]

    Definition Classes
    Traversable → GenericTraversableTemplate
    Annotations
    @bridge()
  43. def fold [A1 >: A] (z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  44. def foldLeft [B] (z: B)(op: (B, A) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  45. def foldRight [B] (z: B)(op: (A, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  46. def forall (p: (A) ⇒ Boolean): Boolean

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  47. def force [B >: A, That] (implicit bf: CanBuildFrom[Coll, B, That]): That

    Definition Classes
    TraversableViewLike → GenTraversableViewLike
  48. def foreach [U] (f: (A) ⇒ U): Unit

    Definition Classes
    LongTraversableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  49. def genericBuilder [B] : Builder[B, LongTraversable[B]]

    Definition Classes
    GenericTraversableTemplate
  50. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  51. def groupBy [K] (f: (A) ⇒ K): Map[K, LongTraversableView[A, Coll]]

    Definition Classes
    TraversableViewLike → TraversableLike → GenTraversableLike
  52. def grouped (size: Int): LongTraversable[Seq[A]]

    Partitions the data into fixed size blocks (same as sliding(size,size).

    Partitions the data into fixed size blocks (same as sliding(size,size).

    size

    the number of elements per group

    returns

    An LongTraversable producing Seqs of size size, except the last and the only element will be truncated if there are fewer elements than size.

    Definition Classes
    LongTraversableLike
  53. def hasDefiniteSize : Boolean

    Definition Classes
    LongTraversableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  54. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  55. def head : A

    Definition Classes
    LongTraversableLike → TraversableLike → GenTraversableLike
  56. def headOption : Option[A]

    Definition Classes
    LongTraversableLike → TraversableLike
  57. def indexOf (elem: A, from: Int): Int

    [use case] Finds index of first occurrence of some value in this $coll after or at some start index.

    [use case]

    Finds index of first occurrence of some value in this $coll after or at some start index.

    elem

    the element value to search for.

    from

    the start index

    returns

    the index >= from of the first element of this $coll that is equal (wrt ==) to elem, or -1, if none exists.

    Attributes
    abstract
    Definition Classes
    LongTraversableLike
  58. def indexOf [B >: A] (elem: B, from: Long): Long

    Finds index of first occurrence of some value in this $coll after or at some start index.

    Finds index of first occurrence of some value in this $coll after or at some start index.

    $mayNotTerminateInf

    B

    the type of the element elem.

    elem

    the element value to search for.

    from

    the start index

    returns

    the index >= from of the first element of this $coll that is equal (wrt ==) to elem, or -1, if none exists.

    Definition Classes
    LongTraversableLike
  59. def indexOf (elem: A): Int

    [use case] Finds index of first occurrence of some value in this $coll.

    [use case]

    Finds index of first occurrence of some value in this $coll.

    elem

    the element value to search for.

    returns

    the index of the first element of this $coll that is equal (wrt ==) to elem, or -1, if none exists.

    Attributes
    abstract
    Definition Classes
    LongTraversableLike
  60. def indexOf [B >: A] (elem: B): Long

    Finds index of first occurrence of some value in this $coll.

    Finds index of first occurrence of some value in this $coll.

    $mayNotTerminateInf

    B

    the type of the element elem.

    elem

    the element value to search for.

    returns

    the index of the first element of this $coll that is equal (wrt ==) to elem, or -1, if none exists.

    Definition Classes
    LongTraversableLike
  61. def indexOfSlice [B >: A] (that: Seq[B], from: Long): Long

    Finds first index after or at a start index where this $coll contains a given sequence as a slice.

    Finds first index after or at a start index where this $coll contains a given sequence as a slice. $mayNotTerminateInf

    that

    the sequence to test

    from

    the start index

    returns

    the first index >= from such that the elements of this $coll starting at this index match the elements of sequence that, or -1 of no such subsequence exists.

    Definition Classes
    LongTraversableLike
  62. def indexOfSlice [B >: A] (that: Seq[B]): Long

    Finds first index where this $coll contains a given sequence as a slice.

    Finds first index where this $coll contains a given sequence as a slice. $mayNotTerminateInf

    that

    the sequence to test

    returns

    the first index such that the elements of this $coll starting at this index match the elements of sequence that, or -1 of no such subsequence exists.

    Definition Classes
    LongTraversableLike
  63. def indexWhere (p: (A) ⇒ Boolean, from: Long): Long

    Finds index of the first element satisfying some predicate after or at some start index.

    Finds index of the first element satisfying some predicate after or at some start index.

    $mayNotTerminateInf

    p

    the predicate used to test elements.

    from

    the start index

    returns

    the index >= from of the first element of this $coll that satisfies the predicate p, or -1, if none exists.

    Definition Classes
    LongTraversableLike
  64. def indexWhere (p: (A) ⇒ Boolean): Long

    Definition Classes
    LongTraversableLike
  65. def init : LongTraversableView[A, Coll]

    Definition Classes
    TraversableViewLike → TraversableLike
  66. def inits : Iterator[LongTraversableView[A, Coll]]

    Definition Classes
    TraversableLike
  67. def isDefinedAt (idx: Long): Boolean

    Definition Classes
    LongTraversableLike
  68. def isEmpty : Boolean

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  69. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  70. def isTraversableAgain : Boolean

    Attributes
    final
    Definition Classes
    GenTraversableLike → GenTraversableOnce
  71. def last : A

    Definition Classes
    TraversableLike
  72. def lastIndexOf (elem: A, end: Int): Int

    [use case] Finds index of last occurrence of some value in this $coll before or at a given end index.

    [use case]

    Finds index of last occurrence of some value in this $coll before or at a given end index.

    elem

    the element value to search for.

    end

    the end index.

    returns

    the index <= end of the last element of this $coll that is equal (wrt ==) to elem, or -1, if none exists.

    Attributes
    abstract
    Definition Classes
    LongTraversableLike
  73. def lastIndexOf [B >: A] (elem: B, end: Long): Long

    Finds index of last occurrence of some value in this $coll before or at a given end index.

    Finds index of last occurrence of some value in this $coll before or at a given end index.

    B

    the type of the element elem.

    elem

    the element value to search for.

    end

    the end index.

    returns

    the index <= end of the last element of this $coll that is equal (wrt ==) to elem, or -1, if none exists.

    Definition Classes
    LongTraversableLike
  74. def lastIndexOf (elem: A): Int

    [use case] Finds index of last occurrence of some value in this $coll.

    [use case]

    Finds index of last occurrence of some value in this $coll.

    elem

    the element value to search for.

    returns

    the index of the last element of this $coll that is equal (wrt ==) to elem, or -1, if none exists.

    Attributes
    abstract
    Definition Classes
    LongTraversableLike
  75. def lastIndexOf [B >: A] (elem: B): Long

    Finds index of last occurrence of some value in this $coll.

    Finds index of last occurrence of some value in this $coll.

    $willNotTerminateInf

    B

    the type of the element elem.

    elem

    the element value to search for.

    returns

    the index of the last element of this $coll that is equal (wrt ==) to elem, or -1, if none exists.

    Definition Classes
    LongTraversableLike
  76. def lastIndexWhere (p: (A) ⇒ Boolean, end: Long): Long

    Finds index of last element satisfying some predicate before or at given end index.

    Finds index of last element satisfying some predicate before or at given end index.

    Always takes linear time and traverses entire traversal

    p

    the predicate used to test elements.

    returns

    the index <= end of the last element of this $coll that satisfies the predicate p, or -1, if none exists.

    Definition Classes
    LongTraversableLike
  77. def lastIndexWhere (p: (A) ⇒ Boolean): Long

    Finds index of last element satisfying some predicate.

    Finds index of last element satisfying some predicate.

    $willNotTerminateInf

    p

    the predicate used to test elements.

    returns

    the index of the last element of this $coll that satisfies the predicate p, or -1, if none exists.

    Definition Classes
    LongTraversableLike
  78. def lastOption : Option[A]

    Definition Classes
    TraversableLike
  79. def lcount (p: (A) ⇒ Boolean): Long

    Definition Classes
    LongTraversableLike
  80. def ldrop (n: Long): LongTraversableView[A, Coll]

    The long equivalent of Traversable.

    The long equivalent of Traversable.drop

    Definition Classes
    LongTraversableViewLikeLongTraversableLike
  81. def limitFold [U] (init: U)(op: (U, A) ⇒ FoldResult[U]): U

    A foldLeft operation that can be terminated without processing the entire collection.

    A foldLeft operation that can be terminated without processing the entire collection.

    Unlike a normal fold, the function passed to limitFold returns a FoldResult which both provides the value that is to be passed to the next stage of the fold as well as represents if the fold should continue or terminate.

    init

    the value to seed the operation with. IE the value that is passed as the accumulator for the first value of the fold operation

    op

    the operation that combines the current and previous versions. The input is the (acc,next) where acc is the result from the previous call and next is the next value in the collection to be processed. The return value of the op is Either Continue or End indicating if the process should continue to next element or terminate, returning the value contained in the result object

    returns

    the last value contained in the FoldResult which was returned by op

    Definition Classes
    LongTraversableLike
  82. def lsize : Long

    The long equivalent of Traversable.

    The long equivalent of Traversable.size

    NOT recommended for use since it might trigger a full traversal of the traversable

    Definition Classes
    LongTraversableLike
  83. def lslice (from: Long, until: Long): LongTraversableView[A, Coll]

    The long equivalent of Traversable.

    The long equivalent of Traversable.slice

    Definition Classes
    LongTraversableViewLikeLongTraversableLike
  84. def lsplitAt (n: Long): (LongTraversableView[A, Coll], LongTraversableView[A, Coll])

    The long equivalent of Traversable.

    The long equivalent of Traversable.splitAt

    Definition Classes
    LongTraversableLike
  85. def ltake (n: Long): LongTraversableView[A, Coll]

    The long equivalent of Traversable.

    The long equivalent of Traversable.take

    Definition Classes
    LongTraversableViewLikeLongTraversableLike
  86. def lview (from: Long, until: Long): LongTraversableView[A, LongTraversableView[A, Coll]]

    The long equivalent of Traversable.

    The long equivalent of Traversable.view(from,to)

    Definition Classes
    LongTraversableLike
  87. def map [B, That] (f: (A) ⇒ B)(implicit bf: CanBuildFrom[LongTraversableView[A, Coll], B, That]): That

    Definition Classes
    TraversableViewLike → TraversableLike → GenTraversableLike → FilterMonadic
  88. def max [B >: A] (implicit cmp: Ordering[B]): A

    Definition Classes
    TraversableOnce → GenTraversableOnce
  89. def maxBy [B] (f: (A) ⇒ B)(implicit cmp: Ordering[B]): A

    Definition Classes
    TraversableOnce → GenTraversableOnce
  90. def min [B >: A] (implicit cmp: Ordering[B]): A

    Definition Classes
    TraversableOnce → GenTraversableOnce
  91. def minBy [B] (f: (A) ⇒ B)(implicit cmp: Ordering[B]): A

    Definition Classes
    TraversableOnce → GenTraversableOnce
  92. def mkString (start: String, sep: String, end: String): String

    Definition Classes
    ViewMkString
  93. def mkString (sep: String): String

    Definition Classes
    ViewMkString
  94. def mkString : String

    Definition Classes
    ViewMkString
  95. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  96. def newAppended [B >: A] (that: GenTraversable[B]): Transformed[B]

    Attributes
    protected
    Definition Classes
    LongTraversableViewLike → TraversableViewLike
  97. def newBuilder : Builder[A, LongTraversableView[A, Coll]]

    Attributes
    protected[this]
    Definition Classes
    TraversableViewLike → GenericTraversableTemplate → TraversableLike → HasNewBuilder
  98. def newDropped (n: Int): Transformed[A]

    Attributes
    protected
    Definition Classes
    TraversableViewLike
  99. def newDroppedWhile (p: (A) ⇒ Boolean): Transformed[A]

    Attributes
    protected
    Definition Classes
    LongTraversableViewLike → TraversableViewLike
  100. def newFiltered (p: (A) ⇒ Boolean): Transformed[A]

    Attributes
    protected
    Definition Classes
    LongTraversableViewLike → TraversableViewLike
  101. def newFlatMapped [B] (f: (A) ⇒ GenTraversableOnce[B]): Transformed[B]

    Attributes
    protected
    Definition Classes
    LongTraversableViewLike → TraversableViewLike
  102. def newForced [B] (xs: ⇒ GenSeq[B]): Transformed[B]

    Boilerplate method, to override in each subclass This method could be eliminated if Scala had virtual classes

    Boilerplate method, to override in each subclass This method could be eliminated if Scala had virtual classes

    Attributes
    protected
    Definition Classes
    LongTraversableViewLike → TraversableViewLike
  103. def newLSliced (_from: Long, _until: Long): Transformed[A]

    Attributes
    protected
    Definition Classes
    LongTraversableViewLike
  104. def newMapped [B] (f: (A) ⇒ B): Transformed[B]

    Attributes
    protected
    Definition Classes
    LongTraversableViewLike → TraversableViewLike
  105. def newSliced (_endpoints: SliceInterval): Transformed[A]

    Attributes
    protected
    Definition Classes
    TraversableViewLike
  106. def newTaken (n: Int): Transformed[A]

    Attributes
    protected
    Definition Classes
    TraversableViewLike
  107. def newTakenWhile (p: (A) ⇒ Boolean): Transformed[A]

    Attributes
    protected
    Definition Classes
    LongTraversableViewLike → TraversableViewLike
  108. def newZipped [B] (that: () ⇒ CloseableIterator[B]): Transformed[(A, B)]

    Boilerplate method, to override in each subclass This method could be eliminated if Scala had virtual classes

    Boilerplate method, to override in each subclass This method could be eliminated if Scala had virtual classes

    Attributes
    protected
    Definition Classes
    LongTraversableViewLike
  109. def newZippedAll [A1 >: A, B] (that: () ⇒ CloseableIterator[B], _thisElem: A1, _thatElem: B): Transformed[(A1, B)]

    Attributes
    protected
    Definition Classes
    LongTraversableViewLike
  110. def nonEmpty : Boolean

    Definition Classes
    TraversableOnce → GenTraversableOnce
  111. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  112. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  113. def par : ParIterable[A]

    Definition Classes
    Parallelizable
  114. def parCombiner : Combiner[A, ParIterable[A]]

    Attributes
    protected[this]
    Definition Classes
    TraversableLike → Parallelizable
  115. def partition (p: (A) ⇒ Boolean): (LongTraversableView[A, Coll], LongTraversableView[A, Coll])

    Definition Classes
    TraversableViewLike → TraversableLike → GenTraversableLike
  116. def prefixLength (p: (A) ⇒ Boolean): Long

    Returns the length of the longest prefix whose elements all satisfy some predicate.

    Returns the length of the longest prefix whose elements all satisfy some predicate.

    p

    the predicate used to test elements.

    returns

    the length of the longest prefix of this $coll such that every element of the segment satisfies the predicate p.

    Definition Classes
    LongTraversableLike
  117. def product [B >: A] (implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  118. def reduce [A1 >: A] (op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  119. def reduceLeft [B >: A] (op: (B, A) ⇒ B): B

    Definition Classes
    TraversableOnce
  120. def reduceLeftOption [B >: A] (op: (B, A) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  121. def reduceOption [A1 >: A] (op: (A1, A1) ⇒ A1): Option[A1]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  122. def reduceRight [B >: A] (op: (A, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  123. def reduceRightOption [B >: A] (op: (A, B) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  124. def repr : LongTraversableView[A, Coll]

    Definition Classes
    TraversableLike → GenTraversableLike
  125. def reversed : List[A]

    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  126. def sameElements [B >: A] (that: LongTraversable[B]): Boolean

    Definition Classes
    LongTraversableLike
  127. def sameElements [B >: A] (that: Iterable[B]): Boolean

    Definition Classes
    LongTraversableLike
  128. def scan [B >: A, That] (z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[LongTraversableView[A, Coll], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  129. def scanLeft [B, That] (z: B)(op: (B, A) ⇒ B)(implicit bf: CanBuildFrom[LongTraversableView[A, Coll], B, That]): That

    Definition Classes
    TraversableViewLike → TraversableLike → GenTraversableLike
  130. def scanRight [B, That] (z: B)(op: (A, B) ⇒ B)(implicit bf: CanBuildFrom[LongTraversableView[A, Coll], B, That]): That

    Definition Classes
    TraversableViewLike → TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

  131. def segmentLength (p: (A) ⇒ Boolean, from: Long = 0): Long

    Computes length of longest segment whose elements all satisfy some predicate.

    Computes length of longest segment whose elements all satisfy some predicate.

    p

    the predicate used to test elements.

    from

    the index where the search starts.

    returns

    the length of the longest segment of this $coll starting from index from such that every element of the segment satisfies the predicate p.

    Definition Classes
    LongTraversableLike
  132. def seq : Traversable[A]

    Definition Classes
    Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  133. def size : Int

    Definition Classes
    LongTraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
  134. def slice (from: Int, until: Int): LongTraversableView[A, Coll]

    Definition Classes
    LongTraversableViewLike → TraversableViewLike → LongTraversableLike → TraversableLike → GenTraversableLike
  135. def sliding (size: Int, step: Int): LongTraversable[Seq[A]]

    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.

    This is based on Iterator#sliding but does not return an iterator to ensure that a resource is not left open.

    size

    the number of elements per group

    step

    the distance between the first elements of successive groups (defaults to 1)

    returns

    An LongTraversable producing Seqs of size size, except the last and the only element will be truncated if there are fewer elements than size.

    Definition Classes
    LongTraversableViewLikeLongTraversableLike
  136. def span (p: (A) ⇒ Boolean): (LongTraversableView[A, Coll], LongTraversableView[A, Coll])

    Definition Classes
    LongTraversableViewLike → TraversableViewLike → TraversableLike → GenTraversableLike
  137. def splitAt (n: Int): (LongTraversableView[A, Coll], LongTraversableView[A, Coll])

    Definition Classes
    LongTraversableViewLike → TraversableViewLike → TraversableLike → GenTraversableLike
  138. def startsWith [B] (that: Seq[B]): Boolean

    Tests whether this $coll starts with the given sequence.

    Tests whether this $coll starts with the given sequence.

    that

    the sequence to test

    returns

    true if this collection has that as a prefix, false otherwise.

    Definition Classes
    LongTraversableLike
  139. def startsWith [B] (that: Seq[B], offset: Long): Boolean

    Tests whether this $coll contains the given sequence at a given index.

    Tests whether this $coll contains the given sequence at a given index.

    If the both the receiver object, this and the argument, that are infinite sequences this method may not terminate.

    that

    the sequence to test

    offset

    the index where the sequence is searched.

    returns

    true if the sequence that is contained in this $coll at index offset, otherwise false.

    Definition Classes
    LongTraversableLike
  140. def startsWith [B] (that: LongTraversable[B]): Boolean

    Tests whether this $coll starts with the given sequence.

    Tests whether this $coll starts with the given sequence.

    that

    the sequence to test

    returns

    true if this collection has that as a prefix, false otherwise.

    Definition Classes
    LongTraversableLike
  141. def startsWith [B] (that: LongTraversable[B], offset: Long): Boolean

    Tests whether this $coll contains the given sequence at a given index.

    Tests whether this $coll contains the given sequence at a given index.

    If the both the receiver object, this and the argument, that are infinite sequences this method may not terminate.

    that

    the sequence to test

    offset

    the index where the sequence is searched.

    returns

    true if the sequence that is contained in this $coll at index offset, otherwise false.

    Definition Classes
    LongTraversableLike
  142. def stringPrefix : String

    Definition Classes
    LongTraversableViewLike → TraversableViewLike → TraversableLike → GenTraversableLike
  143. def sum [B >: A] (implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  144. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  145. def tail : LongTraversableView[A, Coll]

    Definition Classes
    TraversableLike → GenTraversableLike
  146. def tails : Iterator[LongTraversableView[A, Coll]]

    Definition Classes
    TraversableLike
  147. def take (n: Int): LongTraversableView[A, Coll]

    Definition Classes
    LongTraversableViewLike → TraversableViewLike → TraversableLike → GenTraversableLike
  148. def takeWhile (p: (A) ⇒ Boolean): LongTraversableView[A, Coll]

    Definition Classes
    TraversableViewLike → TraversableLike → GenTraversableLike
  149. def thisCollection : LongTraversable[A]

    Attributes
    protected[this]
    Definition Classes
    LongTraversableLike → TraversableLike
  150. def thisSeq : Seq[A]

    Attributes
    protected[this]
    Definition Classes
    ViewMkString
  151. def toArray [B >: A] (implicit arg0: ClassManifest[B]): Array[B]

    Definition Classes
    LongTraversableLike → TraversableOnce → GenTraversableOnce
  152. def toBuffer [B >: A] : Buffer[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  153. def toCollection (repr: LongTraversableView[A, Coll]): LongTraversable[A]

    Attributes
    protected[this]
    Definition Classes
    LongTraversableLike → TraversableLike
  154. def toIndexedSeq [B >: A] : IndexedSeq[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  155. def toIterable : Iterable[A]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  156. def toIterator : Iterator[A]

    Definition Classes
    TraversableLike → GenTraversableOnce
  157. def toList : List[A]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  158. def toMap [T, U] (implicit ev: <:<[A, (T, U)]): Map[T, U]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  159. def toSeq : Seq[A]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  160. def toSet [B >: A] : Set[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  161. def toStream : Stream[A]

    Definition Classes
    TraversableLike → GenTraversableOnce
  162. def toString (): String

    Definition Classes
    LongTraversableView → TraversableViewLike → LongTraversable → TraversableLike → AnyRef → Any
  163. def toTraversable : Traversable[A]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  164. def transpose [B] (implicit asTraversable: (A) ⇒ TraversableOnce[B]): Traversable[Traversable[B]]

    Definition Classes
    Traversable → GenericTraversableTemplate
    Annotations
    @bridge()
  165. def unzip [A1, A2] (implicit asPair: (A) ⇒ (A1, A2)): (LongTraversable[A1], LongTraversable[A2])

    Definition Classes
    GenericTraversableTemplate
  166. def unzip3 [A1, A2, A3] (implicit asTriple: (A) ⇒ (A1, A2, A3)): (LongTraversable[A1], LongTraversable[A2], LongTraversable[A3])

    Definition Classes
    GenericTraversableTemplate
  167. def view (from: Int, until: Int): LongTraversableView[A, LongTraversableView[A, Coll]]

    Definition Classes
    LongTraversableLike → TraversableLike
  168. def view : LongTraversableView[A, LongTraversableView[A, Coll]]

    Definition Classes
    LongTraversableLike → TraversableLike
  169. def viewIdString : String

    Attributes
    protected[this]
    Definition Classes
    TraversableViewLike → GenTraversableViewLike
  170. def viewIdentifier : String

    Attributes
    protected[this]
    Definition Classes
    TraversableViewLike → GenTraversableViewLike
  171. def viewToString : String

    Definition Classes
    GenTraversableViewLike
  172. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  175. def withFilter (p: (A) ⇒ Boolean): LongTraversableView[A, Coll]

    Definition Classes
    TraversableViewLike → TraversableLike → FilterMonadic
  176. def zip [A1 >: A, B, That] (that: LongTraversable[B])(implicit bf: CanBuildFrom[LongTraversableView[A, Coll], (A1, B), That]): That

    Returns a $coll formed from this $coll and another iterable collection by combining corresponding elements in pairs.

    Returns a $coll formed from this $coll and another iterable collection by combining corresponding elements in pairs. If one of the two collections is longer than the other, its remaining elements are ignored.

    A1

    the type of the first half of the returned pairs (this is always a supertype of the collection's element type A).

    B

    the type of the second half of the returned pairs

    That

    $zipthatinfo

    that

    The iterable providing the second half of each result pair

    bf

    $zipbfinfo

    returns

    a new collection of type That containing pairs consisting of corresponding elements of this $coll and that. The length of the returned collection is the minimum of the lengths of this $coll and that.

    Definition Classes
    LongTraversableViewLikeLongTraversableLike
  177. def zip [A1 >: A, B, That] (that: Iterable[B])(implicit bf: CanBuildFrom[LongTraversableView[A, Coll], (A1, B), That]): That

    Returns a $coll formed from this $coll and another iterable collection by combining corresponding elements in pairs.

    Returns a $coll formed from this $coll and another iterable collection by combining corresponding elements in pairs. If one of the two collections is longer than the other, its remaining elements are ignored.

    A1

    the type of the first half of the returned pairs (this is always a supertype of the collection's element type A).

    B

    the type of the second half of the returned pairs

    That

    $zipthatinfo

    that

    The iterable providing the second half of each result pair

    bf

    $zipbfinfo

    returns

    a new collection of type That containing pairs consisting of corresponding elements of this $coll and that. The length of the returned collection is the minimum of the lengths of this $coll and that.

    Definition Classes
    LongTraversableViewLikeLongTraversableLike
  178. def zipAll [B, A1 >: A, That] (that: LongTraversable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[LongTraversableView[A, Coll], (A1, B), That]): That

    Returns a $coll formed from this $coll and another iterable collection by combining corresponding elements in pairs.

    Returns a $coll formed from this $coll and another iterable collection by combining corresponding elements in pairs. If one of the two collections is shorter than the other, placeholder elements are used to extend the shorter collection to the length of the longer.

    $orderDependent

    that

    the iterable providing the second half of each result pair

    thisElem

    the element to be used to fill up the result if this $coll is shorter than that.

    thatElem

    the element to be used to fill up the result if that is shorter than this $coll.

    returns

    a new collection of type That containing pairs consisting of corresponding elements of this $coll and that. The length of the returned collection is the maximum of the lengths of this $coll and that. If this $coll is shorter than that, thisElem values are used to pad the result. If that is shorter than this $coll, thatElem values are used to pad the result.

    Definition Classes
    LongTraversableViewLikeLongTraversableLike
  179. def zipAll [B, A1 >: A, That] (that: Iterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[LongTraversableView[A, Coll], (A1, B), That]): That

    Returns a $coll formed from this $coll and another iterable collection by combining corresponding elements in pairs.

    Returns a $coll formed from this $coll and another iterable collection by combining corresponding elements in pairs. If one of the two collections is shorter than the other, placeholder elements are used to extend the shorter collection to the length of the longer.

    $orderDependent

    that

    the iterable providing the second half of each result pair

    thisElem

    the element to be used to fill up the result if this $coll is shorter than that.

    thatElem

    the element to be used to fill up the result if that is shorter than this $coll.

    returns

    a new collection of type That containing pairs consisting of corresponding elements of this $coll and that. The length of the returned collection is the maximum of the lengths of this $coll and that. If this $coll is shorter than that, thisElem values are used to pad the result. If that is shorter than this $coll, thatElem values are used to pad the result.

    Definition Classes
    LongTraversableViewLikeLongTraversableLike
  180. def zipWithIndex [A1 >: A, That] (implicit bf: CanBuildFrom[LongTraversableView[A, Coll], (A1, Int), That]): That

    Zips this $coll with its indices.

    Zips this $coll with its indices.

    $orderDependent

    A1

    the type of the first half of the returned pairs (this is always a supertype of the collection's element type A).

    That

    the class of the returned collection. Where possible, That is the same class as the current collection class Repr, but this depends on the element type (A1, Int) being admissible for that class, which means that an implicit instance of type CanBuildFrom[Repr, (A1, Int), That]. is found.

    returns

    A new collection of type That containing pairs consisting of all elements of this $coll paired with their index. Indices start at 0.

    Definition Classes
    LongTraversableViewLikeLongTraversableLike

Inherited from LongTraversableViewLike[A, Coll, LongTraversableView[A, Coll]]

Inherited from TraversableView[A, Coll]

Inherited from GenTraversableView[A, Coll]

Inherited from TraversableViewLike[A, Coll, LongTraversableView[A, Coll]]

Inherited from GenTraversableViewLike[A, Coll, LongTraversableView[A, Coll]]

Inherited from ViewMkString[A]

Inherited from LongTraversable[A]

Inherited from LongTraversableLike[A, LongTraversableView[A, Coll]]

Inherited from Traversable[A]

Inherited from GenTraversable[A]

Inherited from GenericTraversableTemplate[A, LongTraversable]

Inherited from TraversableLike[A, LongTraversableView[A, Coll]]

Inherited from GenTraversableLike[A, LongTraversableView[A, Coll]]

Inherited from Parallelizable[A, ParIterable[A]]

Inherited from TraversableOnce[A]

Inherited from GenTraversableOnce[A]

Inherited from FilterMonadic[A, LongTraversableView[A, Coll]]

Inherited from HasNewBuilder[A, LongTraversableView[A, Coll]]

Inherited from AnyRef

Inherited from Any