scalax.io

LineTraversable

class LineTraversable extends LongTraversable[String]

Creates a Traversable[String] from a Traversable[Char] where each String is a line as indicated by the Terminator.

See also

ReadChars

,

Input

Linear Supertypes
LongTraversable[String], LongTraversableLike[String, LongTraversable[String]], Traversable[String], GenTraversable[String], GenericTraversableTemplate[String, LongTraversable], TraversableLike[String, LongTraversable[String]], GenTraversableLike[String, LongTraversable[String]], Parallelizable[String, ParIterable[String]], TraversableOnce[String], GenTraversableOnce[String], FilterMonadic[String, LongTraversable[String]], HasNewBuilder[String, LongTraversable[String]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. LineTraversable
  2. LongTraversable
  3. LongTraversableLike
  4. Traversable
  5. GenTraversable
  6. GenericTraversableTemplate
  7. TraversableLike
  8. GenTraversableLike
  9. Parallelizable
  10. TraversableOnce
  11. GenTraversableOnce
  12. FilterMonadic
  13. HasNewBuilder
  14. AnyRef
  15. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LineTraversable (source: ⇒ CloseableIterator[Char], terminator: Terminator, includeTerminator: Boolean)

Type Members

  1. type Self = LongTraversable[String]

    Attributes
    protected
    Definition Classes
    TraversableLike

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 >: String, That] (that: TraversableOnce[B])(implicit bf: CanBuildFrom[LongTraversable[String], B, That]): That

    Definition Classes
    TraversableLike
    Annotations
    @bridge()
  5. def ++ [B >: String, That] (that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[LongTraversable[String], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  6. def ++: [B >: String, That] (that: Traversable[B])(implicit bf: CanBuildFrom[LongTraversable[String], B, That]): That

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

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

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

    Definition Classes
    GenTraversableOnce
  10. def :\ [B] (z: B)(op: (String, 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): StringBuilder

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

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

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

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

    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[String, B])(implicit bf: CanBuildFrom[LongTraversable[String], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  21. def collectFirst [B] (pf: PartialFunction[String, 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 >: String] (xs: Array[B], start: Int, len: Int): Unit

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

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

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

    Definition Classes
    TraversableOnce
  29. def corresponds [B] (that: LongTraversable[B])(p: (String, 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: (String, 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: (String) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  32. def drop (n: Int): LongTraversable[String]

    Definition Classes
    TraversableLike → GenTraversableLike
  33. def dropWhile (p: (String) ⇒ Boolean): LongTraversable[String]

    Definition Classes
    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: (String) ⇒ Boolean): Boolean

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  37. def filter (p: (String) ⇒ Boolean): LongTraversable[String]

    Definition Classes
    TraversableLike → GenTraversableLike
  38. def filterNot (p: (String) ⇒ Boolean): LongTraversable[String]

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

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

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

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

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

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

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

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

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  47. def foreach [U] (f: (String) ⇒ U): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  50. def groupBy [K] (f: (String) ⇒ K): Map[K, LongTraversable[String]]

    Definition Classes
    TraversableLike → GenTraversableLike
  51. def grouped (size: Int): LongTraversable[Seq[String]]

    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
  52. def hasDefiniteSize : Boolean

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

    Definition Classes
    AnyRef → Any
  54. def head : String

    Definition Classes
    LongTraversableLike → TraversableLike → GenTraversableLike
  55. def headOption : Option[String]

    Definition Classes
    LongTraversableLike → TraversableLike
  56. def indexOf (elem: String, 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
  57. def indexOf [B >: String] (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
  58. def indexOf (elem: String): 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
  59. def indexOf [B >: String] (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
  60. def indexOfSlice [B >: String] (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
  61. def indexOfSlice [B >: String] (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
  62. def indexWhere (p: (String) ⇒ 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
  63. def indexWhere (p: (String) ⇒ Boolean): Long

    Definition Classes
    LongTraversableLike
  64. def init : LongTraversable[String]

    Definition Classes
    TraversableLike
  65. def inits : Iterator[LongTraversable[String]]

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

    Definition Classes
    LongTraversableLike
  67. def isEmpty : Boolean

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

    Attributes
    final
    Definition Classes
    Any
  69. def isTraversableAgain : Boolean

    Attributes
    final
    Definition Classes
    GenTraversableLike → GenTraversableOnce
  70. def iterator : CloseableIterator[String]

    Attributes
    protected[io]
    Definition Classes
    LineTraversableLongTraversableLike
  71. def last : String

    Definition Classes
    TraversableLike
  72. def lastIndexOf (elem: String, 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 >: String] (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: String): 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 >: String] (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: (String) ⇒ 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: (String) ⇒ 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[String]

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

    Definition Classes
    LongTraversableLike
  80. def ldrop (n: Long): LongTraversable[String]

    The long equivalent of Traversable.

    The long equivalent of Traversable.drop

    Definition Classes
    LongTraversableLike
  81. def limitFold [U] (init: U)(op: (U, String) ⇒ 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): LongTraversable[String]

    The long equivalent of Traversable.

    The long equivalent of Traversable.slice

    Definition Classes
    LongTraversableLike
  84. def lsplitAt (n: Long): (LongTraversable[String], LongTraversable[String])

    The long equivalent of Traversable.

    The long equivalent of Traversable.splitAt

    Definition Classes
    LongTraversableLike
  85. def ltake (n: Long): LongTraversable[String]

    The long equivalent of Traversable.

    The long equivalent of Traversable.take

    Definition Classes
    LongTraversableLike
  86. def lview (from: Long, until: Long): LongTraversableView[String, LongTraversable[String]]

    The long equivalent of Traversable.

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

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  92. def mkString : String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  93. def mkString (sep: String): String

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  95. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  96. def newBuilder : Builder[String, LongTraversable[String]]

    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → HasNewBuilder
  97. def nonEmpty : Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  100. def par : ParIterable[String]

    Definition Classes
    Parallelizable
  101. def parCombiner : Combiner[String, ParIterable[String]]

    Attributes
    protected[this]
    Definition Classes
    TraversableLike → Parallelizable
  102. def partition (p: (String) ⇒ Boolean): (LongTraversable[String], LongTraversable[String])

    Definition Classes
    TraversableLike → GenTraversableLike
  103. def prefixLength (p: (String) ⇒ 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
  104. def product [B >: String] (implicit num: Numeric[B]): B

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

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  111. def repr : LongTraversable[String]

    Definition Classes
    TraversableLike → GenTraversableLike
  112. def reversed : List[String]

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

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

    Definition Classes
    LongTraversableLike
  115. def scan [B >: String, That] (z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[LongTraversable[String], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  116. def scanLeft [B, That] (z: B)(op: (B, String) ⇒ B)(implicit bf: CanBuildFrom[LongTraversable[String], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  117. def scanRight [B, That] (z: B)(op: (String, B) ⇒ B)(implicit bf: CanBuildFrom[LongTraversable[String], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

  118. def segmentLength (p: (String) ⇒ 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
  119. def seq : Traversable[String]

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

    Definition Classes
    LongTraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
  121. def slice (from: Int, until: Int): LongTraversable[String]

    Definition Classes
    LongTraversableLike → TraversableLike → GenTraversableLike
  122. def sliding (size: Int, step: Int = 1): LongTraversable[Seq[String]]

    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
    LongTraversableLike
  123. def span (p: (String) ⇒ Boolean): (LongTraversable[String], LongTraversable[String])

    Definition Classes
    TraversableLike → GenTraversableLike
  124. def splitAt (n: Int): (LongTraversable[String], LongTraversable[String])

    Definition Classes
    TraversableLike → GenTraversableLike
  125. 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
  126. 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
  127. 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
  128. 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
  129. def stringPrefix : String

    Definition Classes
    TraversableLike → GenTraversableLike
  130. def sum [B >: String] (implicit num: Numeric[B]): B

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

    Attributes
    final
    Definition Classes
    AnyRef
  132. def tail : LongTraversable[String]

    Definition Classes
    TraversableLike → GenTraversableLike
  133. def tails : Iterator[LongTraversable[String]]

    Definition Classes
    TraversableLike
  134. def take (n: Int): LongTraversable[String]

    Definition Classes
    TraversableLike → GenTraversableLike
  135. def takeWhile (p: (String) ⇒ Boolean): LongTraversable[String]

    Definition Classes
    TraversableLike → GenTraversableLike
  136. def thisCollection : LongTraversable[String]

    Attributes
    protected[this]
    Definition Classes
    LongTraversableLike → TraversableLike
  137. def toArray [B >: String] (implicit arg0: ClassManifest[B]): Array[B]

    Definition Classes
    LongTraversableLike → TraversableOnce → GenTraversableOnce
  138. def toBuffer [B >: String] : Buffer[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  139. def toCollection (repr: LongTraversable[String]): LongTraversable[String]

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  141. def toIterable : Iterable[String]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  142. def toIterator : Iterator[String]

    Definition Classes
    TraversableLike → GenTraversableOnce
  143. def toList : List[String]

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  145. def toSeq : Seq[String]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  146. def toSet [B >: String] : Set[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  147. def toStream : Stream[String]

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

    Definition Classes
    LongTraversable → TraversableLike → AnyRef → Any
  149. def toTraversable : Traversable[String]

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

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

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

    Definition Classes
    GenericTraversableTemplate
  153. def view (from: Int, until: Int): LongTraversableView[String, LongTraversable[String]]

    Definition Classes
    LongTraversableLike → TraversableLike
  154. def view : LongTraversableView[String, LongTraversable[String]]

    Definition Classes
    LongTraversableLike → TraversableLike
  155. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  158. def withFilter (p: (String) ⇒ Boolean): FilterMonadic[String, LongTraversable[String]]

    Definition Classes
    TraversableLike → FilterMonadic
  159. def zip [A1 >: String, B, That] (that: LongTraversable[B])(implicit bf: CanBuildFrom[LongTraversable[String], (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
    LongTraversableLike
  160. def zip [A1 >: String, B, That] (that: Iterable[B])(implicit bf: CanBuildFrom[LongTraversable[String], (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
    LongTraversableLike
  161. def zipAll [B, A1 >: String, That] (that: LongTraversable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[LongTraversable[String], (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
    LongTraversableLike
  162. def zipAll [B, A1 >: String, That] (that: Iterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[LongTraversable[String], (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
    LongTraversableLike
  163. def zipWithIndex [A1 >: String, That] (implicit bf: CanBuildFrom[LongTraversable[String], (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
    LongTraversableLike

Inherited from LongTraversable[String]

Inherited from LongTraversableLike[String, LongTraversable[String]]

Inherited from Traversable[String]

Inherited from GenTraversable[String]

Inherited from GenericTraversableTemplate[String, LongTraversable]

Inherited from TraversableLike[String, LongTraversable[String]]

Inherited from GenTraversableLike[String, LongTraversable[String]]

Inherited from Parallelizable[String, ParIterable[String]]

Inherited from TraversableOnce[String]

Inherited from GenTraversableOnce[String]

Inherited from FilterMonadic[String, LongTraversable[String]]

Inherited from HasNewBuilder[String, LongTraversable[String]]

Inherited from AnyRef

Inherited from Any