org.scommon.io

CloseableInputStreamIterator

trait CloseableInputStreamIterator extends CloseableIterator[(Int, Array[Byte])]

Creates an scala.collection.Iterator that represents a provided source. Data is read via org.scommon.io.CloseableInputStreamIterator#next() and returns a tuple containing the number of bytes read and a buffer containing the bytes.

Linear Supertypes
CloseableIterator[(Int, Array[Byte])], Closeable, Closeable, AutoCloseable, Iterator[(Int, Array[Byte])], TraversableOnce[(Int, Array[Byte])], GenTraversableOnce[(Int, Array[Byte])], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CloseableInputStreamIterator
  2. CloseableIterator
  3. Closeable
  4. Closeable
  5. AutoCloseable
  6. Iterator
  7. TraversableOnce
  8. GenTraversableOnce
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

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

    Definition Classes
    Iterator

Abstract Value Members

  1. abstract def bufferSize: Int

    Attributes
    protected
  2. abstract def source: InputStream

    Attributes
    protected

Concrete Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. def ++[B >: (Int, Array[Byte])](that: ⇒ GenTraversableOnce[B]): Iterator[B]

    Definition Classes
    Iterator
  5. def /:[B](z: B)(op: (B, (Int, Array[Byte])) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  6. def :\[B](z: B)(op: ((Int, Array[Byte]), B) ⇒ B): B

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

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

    Definition Classes
    Any
  9. def addString(b: StringBuilder): StringBuilder

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

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

    Definition Classes
    TraversableOnce
  12. def aggregate[B](z: B)(seqop: (B, (Int, Array[Byte])) ⇒ B, combop: (B, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def buffered: BufferedIterator[(Int, Array[Byte])]

    Definition Classes
    Iterator
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def close(): Unit

    Definition Classes
    CloseableInputStreamIterator → Closeable → Closeable → AutoCloseable
  17. def collect[B](pf: PartialFunction[(Int, Array[Byte]), B]): Iterator[B]

    Definition Classes
    Iterator
    Annotations
    @migration
    Migration

    (Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.

  18. def collectFirst[B](pf: PartialFunction[(Int, Array[Byte]), B]): Option[B]

    Definition Classes
    TraversableOnce
  19. def contains(elem: Any): Boolean

    Definition Classes
    Iterator
  20. def copyToArray[B >: (Int, Array[Byte])](xs: Array[B], start: Int, len: Int): Unit

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  23. def copyToBuffer[B >: (Int, Array[Byte])](dest: Buffer[B]): Unit

    Definition Classes
    TraversableOnce
  24. def corresponds[B](that: GenTraversableOnce[B])(p: ((Int, Array[Byte]), B) ⇒ Boolean): Boolean

    Definition Classes
    Iterator
  25. def count(p: ((Int, Array[Byte])) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  26. def drop(n: Int): Iterator[(Int, Array[Byte])]

    Definition Classes
    Iterator
  27. def dropWhile(p: ((Int, Array[Byte])) ⇒ Boolean): Iterator[(Int, Array[Byte])]

    Definition Classes
    Iterator
  28. def duplicate: (Iterator[(Int, Array[Byte])], Iterator[(Int, Array[Byte])])

    Definition Classes
    Iterator
  29. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  31. def exists(p: ((Int, Array[Byte])) ⇒ Boolean): Boolean

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  32. def filter(p: ((Int, Array[Byte])) ⇒ Boolean): Iterator[(Int, Array[Byte])]

    Definition Classes
    Iterator
  33. def filterNot(p: ((Int, Array[Byte])) ⇒ Boolean): Iterator[(Int, Array[Byte])]

    Definition Classes
    Iterator
  34. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  35. def find(p: ((Int, Array[Byte])) ⇒ Boolean): Option[(Int, Array[Byte])]

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  36. def flatMap[B](f: ((Int, Array[Byte])) ⇒ GenTraversableOnce[B]): Iterator[B]

    Definition Classes
    Iterator
  37. def fold[A1 >: (Int, Array[Byte])](z: A1)(op: (A1, A1) ⇒ A1): A1

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  40. def forall(p: ((Int, Array[Byte])) ⇒ Boolean): Boolean

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  41. def foreach[U](f: ((Int, Array[Byte])) ⇒ U): Unit

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  42. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  43. def grouped[B >: (Int, Array[Byte])](size: Int): GroupedIterator[B]

    Definition Classes
    Iterator
  44. def hasDefiniteSize: Boolean

    Definition Classes
    CloseableInputStreamIterator → Iterator → TraversableOnce → GenTraversableOnce
  45. def hasNext: Boolean

    Definition Classes
    CloseableInputStreamIterator → Iterator
  46. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  47. def indexOf[B >: (Int, Array[Byte])](elem: B): Int

    Definition Classes
    Iterator
  48. def indexWhere(p: ((Int, Array[Byte])) ⇒ Boolean): Int

    Definition Classes
    Iterator
  49. def isEmpty: Boolean

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  50. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  51. def isTraversableAgain: Boolean

    Definition Classes
    CloseableInputStreamIterator → Iterator → GenTraversableOnce
  52. def length: Int

    Definition Classes
    Iterator
  53. def map[B](f: ((Int, Array[Byte])) ⇒ B): Iterator[B]

    Definition Classes
    Iterator
  54. def max[B >: (Int, Array[Byte])](implicit cmp: Ordering[B]): (Int, Array[Byte])

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  56. def min[B >: (Int, Array[Byte])](implicit cmp: Ordering[B]): (Int, Array[Byte])

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  58. def mkString: String

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

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

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

    Definition Classes
    AnyRef
  62. def next(): (Int, Array[Byte])

    Definition Classes
    CloseableInputStreamIterator → Iterator
  63. def nonEmpty: Boolean

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

    Definition Classes
    AnyRef
  65. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  66. def padTo[A1 >: (Int, Array[Byte])](len: Int, elem: A1): Iterator[A1]

    Definition Classes
    Iterator
  67. def partition(p: ((Int, Array[Byte])) ⇒ Boolean): (Iterator[(Int, Array[Byte])], Iterator[(Int, Array[Byte])])

    Definition Classes
    Iterator
  68. def patch[B >: (Int, Array[Byte])](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B]

    Definition Classes
    Iterator
  69. def product[B >: (Int, Array[Byte])](implicit num: Numeric[B]): B

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

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  76. def reversed: List[(Int, Array[Byte])]

    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  77. def sameElements(that: Iterator[_]): Boolean

    Definition Classes
    Iterator
  78. def scanLeft[B](z: B)(op: (B, (Int, Array[Byte])) ⇒ B): Iterator[B]

    Definition Classes
    Iterator
  79. def scanRight[B](z: B)(op: ((Int, Array[Byte]), B) ⇒ B): Iterator[B]

    Definition Classes
    Iterator
  80. def seq: Iterator[(Int, Array[Byte])]

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  81. def size: Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  82. def slice(from: Int, until: Int): Iterator[(Int, Array[Byte])]

    Definition Classes
    Iterator
  83. def sliding[B >: (Int, Array[Byte])](size: Int, step: Int): GroupedIterator[B]

    Definition Classes
    Iterator
  84. def span(p: ((Int, Array[Byte])) ⇒ Boolean): (Iterator[(Int, Array[Byte])], Iterator[(Int, Array[Byte])])

    Definition Classes
    Iterator
  85. def sum[B >: (Int, Array[Byte])](implicit num: Numeric[B]): B

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

    Definition Classes
    AnyRef
  87. def take(n: Int): Iterator[(Int, Array[Byte])]

    Definition Classes
    Iterator
  88. def takeWhile(p: ((Int, Array[Byte])) ⇒ Boolean): Iterator[(Int, Array[Byte])]

    Definition Classes
    Iterator
  89. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, (Int, Array[Byte]), Col[(Int, Array[Byte])]]): Col[(Int, Array[Byte])]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  90. def toArray[B >: (Int, Array[Byte])](implicit arg0: ClassTag[B]): Array[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  91. def toBuffer[B >: (Int, Array[Byte])]: Buffer[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  92. def toIndexedSeq: IndexedSeq[(Int, Array[Byte])]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  93. def toIterable: Iterable[(Int, Array[Byte])]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  94. def toIterator: Iterator[(Int, Array[Byte])]

    Definition Classes
    Iterator → GenTraversableOnce
  95. def toList: List[(Int, Array[Byte])]

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  97. def toSeq: Seq[(Int, Array[Byte])]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  98. def toSet[B >: (Int, Array[Byte])]: Set[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  99. def toStream: Stream[(Int, Array[Byte])]

    Definition Classes
    Iterator → GenTraversableOnce
  100. def toString(): String

    Definition Classes
    Iterator → AnyRef → Any
  101. def toTraversable: Traversable[(Int, Array[Byte])]

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  102. def toVector: Vector[(Int, Array[Byte])]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  103. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  106. def withFilter(p: ((Int, Array[Byte])) ⇒ Boolean): Iterator[(Int, Array[Byte])]

    Definition Classes
    Iterator
  107. def zip[B](that: Iterator[B]): Iterator[((Int, Array[Byte]), B)]

    Definition Classes
    Iterator
  108. def zipAll[B, A1 >: (Int, Array[Byte]), B1 >: B](that: Iterator[B], thisElem: A1, thatElem: B1): Iterator[(A1, B1)]

    Definition Classes
    Iterator
  109. def zipWithIndex: Iterator[((Int, Array[Byte]), Int)]

    Definition Classes
    Iterator

Deprecated Value Members

  1. def /:\[A1 >: (Int, Array[Byte])](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use fold instead

Inherited from CloseableIterator[(Int, Array[Byte])]

Inherited from Closeable

Inherited from Closeable

Inherited from AutoCloseable

Inherited from Iterator[(Int, Array[Byte])]

Inherited from TraversableOnce[(Int, Array[Byte])]

Inherited from GenTraversableOnce[(Int, Array[Byte])]

Inherited from AnyRef

Inherited from Any

Ungrouped