scalax.io.traversable

ByteResourceTraversable

class ByteResourceTraversable extends LongTraversable[Byte] with LongTraversableLike[Byte, LongTraversable[Byte]]

resourceOpener must either be a InputStream or a ReadableByteChannel (or subclass). Anything else will throw an exception

Attributes
protected[io]
Self Type
ByteResourceTraversable
Linear Supertypes
LongTraversable[Byte], LongTraversableLike[Byte, LongTraversable[Byte]], Traversable[Byte], GenTraversable[Byte], GenericTraversableTemplate[Byte, LongTraversable], TraversableLike[Byte, LongTraversable[Byte]], GenTraversableLike[Byte, LongTraversable[Byte]], Parallelizable[Byte, ParIterable[Byte]], TraversableOnce[Byte], GenTraversableOnce[Byte], FilterMonadic[Byte, LongTraversable[Byte]], HasNewBuilder[Byte, LongTraversable[Byte]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ByteResourceTraversable
  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 ByteResourceTraversable (resourceOpener: ⇒ OpenedResource[Closeable], sizeFunc: () ⇒ Option[Long], start: Long, end: Long)

Type Members

  1. type Self = LongTraversable[Byte]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    LongTraversableLike → 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: (Byte) ⇒ Boolean): Boolean

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    LongTraversableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  47. def force : LongTraversable[Byte]

    Definition Classes
    LongTraversableLongTraversableLike
  48. def foreach [U] (f: (Byte) ⇒ 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: (Byte) ⇒ K): Map[K, LongTraversable[Byte]]

    Definition Classes
    TraversableLike → GenTraversableLike
  52. def grouped [That] (size: Int)(implicit bf: CanBuildFrom[LongTraversable[Byte], Seq[Byte], That]): That

    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. lazy val hasDefiniteSize : Boolean

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

    Definition Classes
    AnyRef → Any
  55. def head : Byte

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

    Definition Classes
    LongTraversableLike → TraversableLike
  57. def indexOf (elem: Byte, 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 >: Byte] (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: Byte): 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 >: Byte] (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 >: Byte] (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 >: Byte] (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: (Byte) ⇒ 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: (Byte) ⇒ Boolean): Long

    Definition Classes
    LongTraversableLike
  65. def init : LongTraversable[Byte]

    Definition Classes
    LongTraversableLike → TraversableLike
  66. def inits : Iterator[LongTraversable[Byte]]

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

    Definition Classes
    LongTraversableLike
  68. def isEmpty : Boolean

    Definition Classes
    LongTraversableLike → 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 iterator : Sliceable

    Attributes
    protected[io]
    Definition Classes
    ByteResourceTraversableLongTraversableLike
  72. def last : Byte

    Definition Classes
    TraversableLike
  73. def lastIndexOf (elem: Byte, 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
  74. def lastIndexOf [B >: Byte] (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
  75. def lastIndexOf (elem: Byte): 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
  76. def lastIndexOf [B >: Byte] (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
  77. def lastIndexWhere (p: (Byte) ⇒ 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
  78. def lastIndexWhere (p: (Byte) ⇒ 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
  79. def lastOption : Option[Byte]

    Definition Classes
    TraversableLike
  80. def lcount (p: (Byte) ⇒ Boolean): Long

    Definition Classes
    LongTraversableLike
  81. def ldrop (n: Long): LongTraversable[Byte]

    The long equivalent of Traversable.

    The long equivalent of Traversable.drop

    Definition Classes
    LongTraversableLike
  82. def limitFold [U] (init: U)(op: (U, Byte) ⇒ 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
  83. 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
    ByteResourceTraversableLongTraversableLike
  84. def lslice (from: Long, until: Long): LongTraversable[Byte]

    Definition Classes
    LongTraversableLike
  85. def lsplitAt (n: Long): (LongTraversable[Byte], LongTraversable[Byte])

    The long equivalent of Traversable.

    The long equivalent of Traversable.splitAt

    Definition Classes
    LongTraversableLike
  86. def ltake (n: Long): LongTraversable[Byte]

    The long equivalent of Traversable.

    The long equivalent of Traversable.take

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

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

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

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

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

    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 : LongTraversableBuilder[Byte, LongTraversable[Byte]]

    Attributes
    protected[this]
    Definition Classes
    LongTraversable → GenericTraversableTemplate → TraversableLike → 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[Byte]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

  118. def segmentLength (p: (Byte) ⇒ 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[Byte]

    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[Byte]

    Definition Classes
    LongTraversableLike → TraversableLike → GenTraversableLike
  122. def sliding [That] (size: Int, step: Int = 1)(implicit bf: CanBuildFrom[LongTraversable[Byte], Seq[Byte], That]): That

    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: (Byte) ⇒ Boolean): (LongTraversable[Byte], LongTraversable[Byte])

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

    Definition Classes
    LongTraversableLike → 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 >: Byte] (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[Byte]

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

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

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

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

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

    Definition Classes
    ByteResourceTraversableLongTraversableLike → TraversableOnce → GenTraversableOnce
  138. def toBuffer [B >: Byte] : Buffer[B]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    TraversableLike
  154. def view : TraversableView[Byte, LongTraversable[Byte]]

    Definition Classes
    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: (Byte) ⇒ Boolean): FilterMonadic[Byte, LongTraversable[Byte]]

    Definition Classes
    TraversableLike → FilterMonadic
  159. def zip [B, A1 >: Byte, That] (that: LongTraversable[B])(implicit bf: LongTraversableBuilder[(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.

    B

    the type of the second half of the returned pairs

    that

    The iterable providing the second half of each result pair

    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 [B, A1 >: Byte, That] (that: Iterable[B])(implicit bf: LongTraversableBuilder[(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.

    B

    the type of the second half of the returned pairs

    that

    The iterable providing the second half of each result pair

    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 >: Byte, That] (that: LongTraversable[B], thisElem: A1, thatElem: B)(implicit bf: LongTraversableBuilder[(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

    B

    the type of the second half of the returned pairs

    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 >: Byte, That] (that: Iterable[B], thisElem: A1, thatElem: B)(implicit bf: LongTraversableBuilder[(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

    B

    the type of the second half of the returned pairs

    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 >: Byte, That] (implicit bf: LongTraversableBuilder[(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[Byte]

Inherited from LongTraversableLike[Byte, LongTraversable[Byte]]

Inherited from Traversable[Byte]

Inherited from GenTraversable[Byte]

Inherited from GenericTraversableTemplate[Byte, LongTraversable]

Inherited from TraversableLike[Byte, LongTraversable[Byte]]

Inherited from GenTraversableLike[Byte, LongTraversable[Byte]]

Inherited from Parallelizable[Byte, ParIterable[Byte]]

Inherited from TraversableOnce[Byte]

Inherited from GenTraversableOnce[Byte]

Inherited from FilterMonadic[Byte, LongTraversable[Byte]]

Inherited from HasNewBuilder[Byte, LongTraversable[Byte]]

Inherited from AnyRef

Inherited from Any