Packages

class ByteArrayIterator extends ByteIterator

Self Type
ByteArrayIterator
Linear Supertypes
ByteIterator, BufferedIterator[Byte], Iterator[Byte], IterableOnceOps[Byte, Iterator, Iterator[Byte]], IterableOnce[Byte], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ByteArrayIterator
  2. ByteIterator
  3. BufferedIterator
  4. Iterator
  5. IterableOnceOps
  6. IterableOnce
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class GroupedIterator[B >: A] extends AbstractIterator[Seq[B]]
    Definition Classes
    Iterator

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ++(that: IterableOnce[Byte]): ByteIterator
    Definition Classes
    ByteArrayIteratorByteIterator
  4. final def ++[B >: Byte](xs: => IterableOnce[B]): Iterator[B]
    Definition Classes
    Iterator
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def addString(b: StringBuilder): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  7. final def addString(b: StringBuilder, sep: String): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  8. def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
    Definition Classes
    IterableOnceOps
  9. def asInputStream: InputStream

    Directly wraps this ByteIterator in an InputStream without copying.

    Directly wraps this ByteIterator in an InputStream without copying. Read and skip operations on the stream will advance the iterator accordingly.

    Definition Classes
    ByteArrayIteratorByteIterator
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def buffered: ByteArrayIterator.this.type
    Definition Classes
    BufferedIterator → Iterator
  12. def clear(): Unit
    Definition Classes
    ByteArrayIteratorByteIterator
  13. final def clone(): ByteArrayIterator
    Definition Classes
    ByteArrayIteratorByteIterator → AnyRef
  14. def collect[B](pf: PartialFunction[Byte, B]): Iterator[B]
    Definition Classes
    Iterator → IterableOnceOps
  15. def collectFirst[B](pf: PartialFunction[Byte, B]): Option[B]
    Definition Classes
    IterableOnceOps
  16. def concat[B >: Byte](xs: => IterableOnce[B]): Iterator[B]
    Definition Classes
    Iterator
  17. def contains(elem: Any): Boolean
    Definition Classes
    Iterator
  18. final def copyToArray[B >: Byte](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    ByteArrayIterator → IterableOnceOps
  19. def copyToArray[B >: Byte](xs: Array[B]): Int
    Definition Classes
    ByteArrayIterator → IterableOnceOps
    Annotations
    @nowarn()
  20. def copyToArray[B >: Byte](xs: Array[B], start: Int): Int
    Definition Classes
    ByteArrayIterator → IterableOnceOps
    Annotations
    @nowarn()
  21. def copyToBuffer(buffer: ByteBuffer): Int

    For performance sensitive code, call take() directly on ByteString (it's optimised there)

    For performance sensitive code, call take() directly on ByteString (it's optimised there)

    Definition Classes
    ByteArrayIteratorByteIterator
  22. def corresponds[B](that: IterableOnce[B])(p: (Byte, B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  23. def count(p: (Byte) => Boolean): Int
    Definition Classes
    IterableOnceOps
  24. def distinct: Iterator[Byte]
    Definition Classes
    Iterator
  25. def distinctBy[B](f: (Byte) => B): Iterator[Byte]
    Definition Classes
    Iterator
  26. final def drop(n: Int): ByteArrayIterator.this.type
    Definition Classes
    ByteArrayIteratorByteIterator → Iterator → IterableOnceOps
  27. final def dropWhile(p: (Byte) => Boolean): ByteArrayIterator.this.type
    Definition Classes
    ByteArrayIteratorByteIterator → Iterator → IterableOnceOps
  28. def duplicate: (ByteIterator, ByteIterator)
    Definition Classes
    ByteIterator → Iterator
  29. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  31. def exists(p: (Byte) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  32. def filter(p: (Byte) => Boolean): Iterator[Byte]
    Definition Classes
    Iterator → IterableOnceOps
  33. def filterNot(p: (Byte) => Boolean): Iterator[Byte]
    Definition Classes
    Iterator → IterableOnceOps
  34. def find(p: (Byte) => Boolean): Option[Byte]
    Definition Classes
    IterableOnceOps
  35. def flatMap[B](f: (Byte) => IterableOnce[B]): Iterator[B]
    Definition Classes
    Iterator → IterableOnceOps
  36. def flatten[B](implicit ev: (Byte) => IterableOnce[B]): Iterator[B]
    Definition Classes
    Iterator → IterableOnceOps
  37. def fold[A1 >: Byte](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  38. def foldLeft[B](z: B)(op: (B, Byte) => B): B
    Definition Classes
    ByteIterator → IterableOnceOps
  39. def foldRight[B](z: B)(op: (Byte, B) => B): B
    Definition Classes
    IterableOnceOps
  40. def forall(p: (Byte) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  41. def foreach[U](f: (Byte) => U): Unit
    Definition Classes
    ByteIterator → IterableOnceOps
  42. def getByte: Byte

    Get a single Byte from this iterator.

    Get a single Byte from this iterator. Identical to next().

    Definition Classes
    ByteIterator
  43. def getByteString(n: Int): ByteString

    Get a ByteString with specific number of Bytes from this iterator.

    Get a ByteString with specific number of Bytes from this iterator. In contrast to copyToArray, this method will fail if this.len < n.

    Definition Classes
    ByteIterator
  44. def getBytes(xs: Array[Byte], offset: Int, n: Int): ByteArrayIterator.this.type

    Get a specific number of Bytes from this iterator.

    Get a specific number of Bytes from this iterator. In contrast to copyToArray, this method will fail if length < n or if (xs.length - offset) < n.

    Definition Classes
    ByteArrayIteratorByteIterator
    Annotations
    @throws(scala.this.throws.<init>$default$1[NoSuchElementException])
  45. def getBytes(n: Int): Array[Byte]

    Get a specific number of Bytes from this iterator.

    Get a specific number of Bytes from this iterator. In contrast to copyToArray, this method will fail if this.len < n.

    Definition Classes
    ByteIterator
  46. def getBytes(xs: Array[Byte]): ByteArrayIterator.this.type

    Get a specific number of Bytes from this iterator.

    Get a specific number of Bytes from this iterator. In contrast to copyToArray, this method will fail if this.len < xs.length.

    Definition Classes
    ByteIterator
  47. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  48. def getDouble(implicit byteOrder: ByteOrder): Double
    Definition Classes
    ByteIterator
  49. def getDoubles(xs: Array[Double], offset: Int, n: Int)(implicit byteOrder: ByteOrder): ByteArrayIterator.this.type

    Get a number of Doubles from this iterator.

    Get a number of Doubles from this iterator.

    Definition Classes
    ByteArrayIteratorByteIterator
  50. def getDoubles(xs: Array[Double])(implicit byteOrder: ByteOrder): ByteArrayIterator.this.type

    Get a number of Doubles from this iterator.

    Get a number of Doubles from this iterator.

    Definition Classes
    ByteIterator
  51. def getFloat(implicit byteOrder: ByteOrder): Float
    Definition Classes
    ByteIterator
  52. def getFloats(xs: Array[Float], offset: Int, n: Int)(implicit byteOrder: ByteOrder): ByteArrayIterator.this.type

    Get a number of Floats from this iterator.

    Get a number of Floats from this iterator.

    Definition Classes
    ByteArrayIteratorByteIterator
  53. def getFloats(xs: Array[Float])(implicit byteOrder: ByteOrder): ByteArrayIterator.this.type

    Get a number of Floats from this iterator.

    Get a number of Floats from this iterator.

    Definition Classes
    ByteIterator
  54. def getInt(implicit byteOrder: ByteOrder): Int

    Get a single Int from this iterator.

    Get a single Int from this iterator.

    Definition Classes
    ByteIterator
  55. def getInts(xs: Array[Int], offset: Int, n: Int)(implicit byteOrder: ByteOrder): ByteArrayIterator.this.type

    Get a number of Ints from this iterator.

    Get a number of Ints from this iterator.

    Definition Classes
    ByteArrayIteratorByteIterator
  56. def getInts(xs: Array[Int])(implicit byteOrder: ByteOrder): ByteArrayIterator.this.type

    Get a number of Ints from this iterator.

    Get a number of Ints from this iterator.

    Definition Classes
    ByteIterator
  57. def getLong(implicit byteOrder: ByteOrder): Long

    Get a single Long from this iterator.

    Get a single Long from this iterator.

    Definition Classes
    ByteIterator
  58. def getLongPart(n: Int)(implicit byteOrder: ByteOrder): Long

    Get a Long from this iterator where only the least significant n bytes were encoded.

    Get a Long from this iterator where only the least significant n bytes were encoded.

    Definition Classes
    ByteIterator
  59. def getLongs(xs: Array[Long], offset: Int, n: Int)(implicit byteOrder: ByteOrder): ByteArrayIterator.this.type

    Get a number of Longs from this iterator.

    Get a number of Longs from this iterator.

    Definition Classes
    ByteArrayIteratorByteIterator
  60. def getLongs(xs: Array[Long])(implicit byteOrder: ByteOrder): ByteArrayIterator.this.type

    Get a number of Longs from this iterator.

    Get a number of Longs from this iterator.

    Definition Classes
    ByteIterator
  61. def getShort(implicit byteOrder: ByteOrder): Short

    Get a single Short from this iterator.

    Get a single Short from this iterator.

    Definition Classes
    ByteIterator
  62. def getShorts(xs: Array[Short], offset: Int, n: Int)(implicit byteOrder: ByteOrder): ByteArrayIterator.this.type

    Get a number of Shorts from this iterator.

    Get a number of Shorts from this iterator.

    Definition Classes
    ByteArrayIteratorByteIterator
  63. def getShorts(xs: Array[Short])(implicit byteOrder: ByteOrder): ByteArrayIterator.this.type

    Get a number of Shorts from this iterator.

    Get a number of Shorts from this iterator.

    Definition Classes
    ByteIterator
  64. def grouped[B >: Byte](size: Int): GroupedIterator[B]
    Definition Classes
    Iterator
  65. final def hasNext: Boolean
    Definition Classes
    ByteArrayIterator → Iterator
    Annotations
    @inline()
  66. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  67. final def head: Byte
    Definition Classes
    ByteArrayIteratorByteIterator → BufferedIterator
    Annotations
    @inline()
  68. def headOption: Option[Byte]
    Definition Classes
    BufferedIterator
  69. def indexOf[B >: Byte](elem: B, from: Int): Int
    Definition Classes
    ByteIterator → Iterator
  70. def indexOf[B >: Byte](elem: B): Int
    Definition Classes
    ByteIterator → Iterator
  71. def indexOf(elem: Byte, from: Int): Int
    Definition Classes
    ByteIterator
  72. def indexOf(elem: Byte): Int
    Definition Classes
    ByteIterator
  73. def indexWhere(p: (Byte) => Boolean, from: Int = 0): Int
    Definition Classes
    ByteIterator → Iterator
  74. def isEmpty: Boolean
    Definition Classes
    Iterator → IterableOnceOps
    Annotations
    @deprecatedOverriding()
  75. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  76. def isTraversableAgain: Boolean
    Definition Classes
    IterableOnceOps
  77. final def iterator: Iterator[Byte]
    Definition Classes
    Iterator → IterableOnce
    Annotations
    @inline()
  78. def knownSize: Int
    Definition Classes
    IterableOnce
  79. final def len: Int
    Definition Classes
    ByteArrayIteratorByteIterator
    Annotations
    @inline()
  80. final def length: Int
    Definition Classes
    Iterator
    Annotations
    @inline()
  81. def map[B](f: (Byte) => B): Iterator[B]
    Definition Classes
    Iterator → IterableOnceOps
  82. def max[B >: Byte](implicit ord: Ordering[B]): Byte
    Definition Classes
    IterableOnceOps
  83. def maxBy[B](f: (Byte) => B)(implicit ord: Ordering[B]): Byte
    Definition Classes
    IterableOnceOps
  84. def maxByOption[B](f: (Byte) => B)(implicit ord: Ordering[B]): Option[Byte]
    Definition Classes
    IterableOnceOps
  85. def maxOption[B >: Byte](implicit ord: Ordering[B]): Option[Byte]
    Definition Classes
    IterableOnceOps
  86. def min[B >: Byte](implicit ord: Ordering[B]): Byte
    Definition Classes
    IterableOnceOps
  87. def minBy[B](f: (Byte) => B)(implicit ord: Ordering[B]): Byte
    Definition Classes
    IterableOnceOps
  88. def minByOption[B](f: (Byte) => B)(implicit ord: Ordering[B]): Option[Byte]
    Definition Classes
    IterableOnceOps
  89. def minOption[B >: Byte](implicit ord: Ordering[B]): Option[Byte]
    Definition Classes
    IterableOnceOps
  90. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  91. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  92. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  93. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  94. final def next(): Byte
    Definition Classes
    ByteArrayIteratorByteIterator → Iterator
  95. def nextOption(): Option[Byte]
    Definition Classes
    Iterator
  96. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  97. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  98. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  99. def padTo[B >: Byte](len: Int, elem: B): Iterator[B]
    Definition Classes
    Iterator
  100. def partition(p: (Byte) => Boolean): (Iterator[Byte], Iterator[Byte])
    Definition Classes
    Iterator
  101. def patch[B >: Byte](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B]
    Definition Classes
    Iterator
  102. def product[B >: Byte](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  103. def reduce[B >: Byte](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  104. def reduceLeft[B >: Byte](op: (B, Byte) => B): B
    Definition Classes
    IterableOnceOps
  105. def reduceLeftOption[B >: Byte](op: (B, Byte) => B): Option[B]
    Definition Classes
    IterableOnceOps
  106. def reduceOption[B >: Byte](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  107. def reduceRight[B >: Byte](op: (Byte, B) => B): B
    Definition Classes
    IterableOnceOps
  108. def reduceRightOption[B >: Byte](op: (Byte, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  109. def reversed: Iterable[Byte]
    Attributes
    protected
    Definition Classes
    IterableOnceOps
  110. def sameElements[B >: Byte](that: IterableOnce[B]): Boolean
    Definition Classes
    Iterator
  111. def scanLeft[B](z: B)(op: (B, Byte) => B): Iterator[B]
    Definition Classes
    Iterator → IterableOnceOps
  112. final def size: Int
    Definition Classes
    ByteArrayIterator → IterableOnceOps
  113. def slice(from: Int, until: Int): ByteArrayIterator.this.type
    Definition Classes
    ByteIterator → Iterator → IterableOnceOps
  114. def sliceIterator(from: Int, until: Int): Iterator[Byte]
    Attributes
    protected
    Definition Classes
    Iterator
  115. def sliding[B >: Byte](size: Int, step: Int): GroupedIterator[B]
    Definition Classes
    Iterator
  116. def span(p: (Byte) => Boolean): (ByteIterator, ByteIterator)
    Definition Classes
    ByteIterator → Iterator → IterableOnceOps
  117. def splitAt(n: Int): (Iterator[Byte], Iterator[Byte])
    Definition Classes
    IterableOnceOps
  118. def stepper[S <: Stepper[_]](implicit shape: StepperShape[Byte, S]): S
    Definition Classes
    IterableOnce
  119. def sum[B >: Byte](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  120. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  121. final def take(n: Int): ByteArrayIterator.this.type
    Definition Classes
    ByteArrayIteratorByteIterator → Iterator → IterableOnceOps
  122. final def takeWhile(p: (Byte) => Boolean): ByteArrayIterator.this.type
    Definition Classes
    ByteArrayIteratorByteIterator → Iterator → IterableOnceOps
  123. def tapEach[U](f: (Byte) => U): Iterator[Byte]
    Definition Classes
    Iterator → IterableOnceOps
  124. def to[C1](factory: Factory[Byte, C1]): C1
    Definition Classes
    IterableOnceOps
  125. def toArray[B >: Byte](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    ByteIterator → IterableOnceOps
  126. final def toBuffer[B >: Byte]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  127. final def toByteString: ByteString
    Definition Classes
    ByteArrayIteratorByteIterator
  128. def toIndexedSeq: IndexedSeq[Byte]
    Definition Classes
    IterableOnceOps
  129. def toList: List[Byte]
    Definition Classes
    IterableOnceOps
  130. def toMap[K, V](implicit ev: <:<[Byte, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  131. def toSeq: ByteString
    Definition Classes
    ByteIterator → IterableOnceOps
  132. def toSet[B >: Byte]: Set[B]
    Definition Classes
    IterableOnceOps
  133. def toString(): String
    Definition Classes
    Iterator → AnyRef → Any
  134. def toVector: Vector[Byte]
    Definition Classes
    IterableOnceOps
  135. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  136. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  137. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  138. def withFilter(p: (Byte) => Boolean): Iterator[Byte]
    Definition Classes
    Iterator
  139. def zip[B](that: IterableOnce[B]): Iterator[(Byte, B)]
    Definition Classes
    Iterator
  140. def zipAll[A1 >: Byte, B](that: IterableOnce[B], thisElem: A1, thatElem: B): Iterator[(A1, B)]
    Definition Classes
    Iterator
  141. def zipWithIndex: Iterator[(Byte, Int)]
    Definition Classes
    Iterator → IterableOnceOps

Deprecated Value Members

  1. final def /:[B](z: B)(op: (B, Byte) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  2. final def :\[B](z: B)(op: (Byte, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  3. def aggregate[B](z: => B)(seqop: (B, Byte) => B, combop: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) aggregate is not relevant for sequential collections. Use foldLeft(z)(seqop) instead.

  4. final def copyToBuffer[B >: Byte](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use dest ++= coll instead

  5. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  6. final def hasDefiniteSize: Boolean
    Definition Classes
    Iterator → IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) hasDefiniteSize on Iterator is the same as isEmpty

  7. def scanRight[B](z: B)(op: (Byte, B) => B): Iterator[B]
    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Call scanRight on an Iterable instead.

  8. def seq: ByteArrayIterator.this.type
    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterator.seq always returns the iterator itself

  9. final def toIterator: Iterator[Byte]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  10. final def toStream: Stream[Byte]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

Inherited from ByteIterator

Inherited from BufferedIterator[Byte]

Inherited from Iterator[Byte]

Inherited from IterableOnceOps[Byte, Iterator, Iterator[Byte]]

Inherited from IterableOnce[Byte]

Inherited from AnyRef

Inherited from Any

Ungrouped