scala.tools.nsc.util

# JavaCharArrayReader

#### class JavaCharArrayReader extends Iterator[Char] with Cloneable

Linear Supertypes
Cloneable, java.lang.Cloneable, collection.Iterator[Char], collection.TraversableOnce[Char], GenTraversableOnce[Char], AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering

1. Alphabetic
2. By inheritance

Inherited

1. JavaCharArrayReader
2. Cloneable
3. Cloneable
4. Iterator
5. TraversableOnce
6. GenTraversableOnce
7. AnyRef
8. Any

Implicitly

1. by MonadOps
2. by any2stringadd
3. by StringFormat
4. by Ensuring
5. by ArrowAssoc
6. by alternateImplicit

1. Hide All
2. Show all

Learn more about member selection
Visibility

1. Public
2. All

### Instance Constructors

1. #### new JavaCharArrayReader(buf: IndexedSeq[Char], decodeUni: Boolean, error: (String) ⇒ Unit)

2. #### new JavaCharArrayReader(buf: IndexedSeq[Char], start: Int, decodeUni: Boolean, error: (String) ⇒ Unit)

### Type Members

1. #### class GroupedIterator[B >: A] extends AbstractIterator[collection.Seq[B]] with collection.Iterator[collection.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. #### def +(other: String): String

   Implicit information
     This member is added by an implicit conversion from JavaCharArrayReader to any2stringadd[JavaCharArrayReader] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd

4. #### def ++[B >: Char](that: ⇒ GenTraversableOnce[B]): collection.Iterator[B]

   Definition Classes
     Iterator

5. #### def ->[B](y: B): (JavaCharArrayReader, B)

   Implicit information
     This member is added by an implicit conversion from JavaCharArrayReader to ArrowAssoc[JavaCharArrayReader] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()

6. #### def /:[B](z: B)(op: (B, Char) ⇒ B): B

   Definition Classes
     TraversableOnce → GenTraversableOnce

7. #### def :\[B](z: B)(op: (Char, B) ⇒ B): B

   Definition Classes
     TraversableOnce → GenTraversableOnce

8. #### final def ==(arg0: Any): Boolean

   Definition Classes
     AnyRef → 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, Char) ⇒ B, combop: (B, B) ⇒ B): B

    Definition Classes
      TraversableOnce → GenTraversableOnce

13. #### final def asInstanceOf[T0]: T0

    Definition Classes
      Any

14. #### var bp: Int

15. #### def buffered: collection.BufferedIterator[Char]

    Definition Classes
      Iterator

16. #### var ch: Char

    the line and column position of the current character

17. #### def clone(): AnyRef

    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

18. #### def collect[B](pf: PartialFunction[Char, B]): collection.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`.

19. #### def collectFirst[B](pf: PartialFunction[Char, B]): Option[B]

    Definition Classes
      TraversableOnce

20. #### def contains(elem: Any): Boolean

    Definition Classes
      Iterator

21. #### def copy: JavaCharArrayReader

22. #### def copyToArray[B >: Char](xs: Array[B], start: Int, len: Int): Unit

    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce

23. #### def copyToArray[B >: Char](xs: Array[B]): Unit

    Definition Classes
      TraversableOnce → GenTraversableOnce

24. #### def copyToArray[B >: Char](xs: Array[B], start: Int): Unit

    Definition Classes
      TraversableOnce → GenTraversableOnce

25. #### def copyToBuffer[B >: Char](dest: Buffer[B]): Unit

    Definition Classes
      TraversableOnce

26. #### def corresponds[B](that: GenTraversableOnce[B])(p: (Char, B) ⇒ Boolean): Boolean

    Definition Classes
      Iterator

27. #### def count(p: (Char) ⇒ Boolean): Int

    Definition Classes
      TraversableOnce → GenTraversableOnce

28. #### def cpos: Int

29. #### def drop(n: Int): collection.Iterator[Char]

    Definition Classes
      Iterator

30. #### def dropWhile(p: (Char) ⇒ Boolean): collection.Iterator[Char]

    Definition Classes
      Iterator

31. #### def duplicate: (collection.Iterator[Char], collection.Iterator[Char])

    Definition Classes
      Iterator

32. #### def ensuring(cond: (JavaCharArrayReader) ⇒ Boolean, msg: ⇒ Any): JavaCharArrayReader

    Implicit information
      This member is added by an implicit conversion from JavaCharArrayReader to Ensuring[JavaCharArrayReader] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring

33. #### def ensuring(cond: (JavaCharArrayReader) ⇒ Boolean): JavaCharArrayReader

    Implicit information
      This member is added by an implicit conversion from JavaCharArrayReader to Ensuring[JavaCharArrayReader] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring

34. #### def ensuring(cond: Boolean, msg: ⇒ Any): JavaCharArrayReader

    Implicit information
      This member is added by an implicit conversion from JavaCharArrayReader to Ensuring[JavaCharArrayReader] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring

35. #### def ensuring(cond: Boolean): JavaCharArrayReader

    Implicit information
      This member is added by an implicit conversion from JavaCharArrayReader to Ensuring[JavaCharArrayReader] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring

36. #### final def eq(arg0: AnyRef): Boolean

    Definition Classes
      AnyRef

37. #### def equals(arg0: Any): Boolean

    Definition Classes
      AnyRef → Any

38. #### def exists(p: (Char) ⇒ Boolean): Boolean

    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce

39. #### def filter(p: (Char) ⇒ Boolean): collection.Iterator[Char]

    Definition Classes
      Iterator

40. #### def filterNot(p: (Char) ⇒ Boolean): collection.Iterator[Char]

    Definition Classes
      Iterator

41. #### def finalize(): Unit

    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )

42. #### def find(p: (Char) ⇒ Boolean): Option[Char]

    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce

43. #### def flatMap[B](f: (Char) ⇒ GenTraversableOnce[B]): collection.Iterator[B]

    Definition Classes
      Iterator

44. #### def fold[A1 >: Char](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
      TraversableOnce → GenTraversableOnce

45. #### def foldLeft[B](z: B)(op: (B, Char) ⇒ B): B

    Definition Classes
      TraversableOnce → GenTraversableOnce

46. #### def foldRight[B](z: B)(op: (Char, B) ⇒ B): B

    Definition Classes
      TraversableOnce → GenTraversableOnce

47. #### def forall(p: (Char) ⇒ Boolean): Boolean

    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce

48. #### def foreach[U](f: (Char) ⇒ U): Unit

    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce

49. #### def formatted(fmtstr: String): String

    Implicit information
      This member is added by an implicit conversion from JavaCharArrayReader to StringFormat[JavaCharArrayReader] performed by method StringFormat in scala.Predef.
    Definition Classes
      StringFormat
    Annotations
      @inline()

50. #### final def getClass(): Class[_]

    Definition Classes
      AnyRef → Any

51. #### def grouped[B >: Char](size: Int): GroupedIterator[B]

    Definition Classes
      Iterator

52. #### def hasDefiniteSize: Boolean

    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce

53. #### def hasNext: Boolean

    Definition Classes
      JavaCharArrayReader → Iterator

54. #### def hashCode(): Int

    Definition Classes
      AnyRef → Any

55. #### def indexOf[B >: Char](elem: B): Int

    Definition Classes
      Iterator

56. #### def indexWhere(p: (Char) ⇒ Boolean): Int

    Definition Classes
      Iterator

57. #### def isEmpty: Boolean

    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce

58. #### final def isInstanceOf[T0]: Boolean

    Definition Classes
      Any

59. #### def isTraversableAgain: Boolean

    Definition Classes
      Iterator → GenTraversableOnce

60. #### var isUnicode: Boolean

61. #### def length: Int

    Definition Classes
      Iterator

62. #### def map[B](f: (Char) ⇒ B): collection.Iterator[B]

    Definition Classes
      Iterator

63. #### def max[B >: Char](implicit cmp: Ordering[B]): Char

    Definition Classes
      TraversableOnce → GenTraversableOnce

64. #### def maxBy[B](f: (Char) ⇒ B)(implicit cmp: Ordering[B]): Char

    Definition Classes
      TraversableOnce → GenTraversableOnce

65. #### def min[B >: Char](implicit cmp: Ordering[B]): Char

    Definition Classes
      TraversableOnce → GenTraversableOnce

66. #### def minBy[B](f: (Char) ⇒ B)(implicit cmp: Ordering[B]): Char

    Definition Classes
      TraversableOnce → GenTraversableOnce

67. #### def mkString: String

    Definition Classes
      TraversableOnce → GenTraversableOnce

68. #### def mkString(sep: String): String

    Definition Classes
      TraversableOnce → GenTraversableOnce

69. #### def mkString(start: String, sep: String, end: String): String

    Definition Classes
      TraversableOnce → GenTraversableOnce

70. #### final def ne(arg0: AnyRef): Boolean

    Definition Classes
      AnyRef

71. #### def next(): Char

    Definition Classes
      JavaCharArrayReader → Iterator

72. #### def nonEmpty: Boolean

    Definition Classes
      TraversableOnce → GenTraversableOnce

73. #### final def notify(): Unit

    Definition Classes
      AnyRef

74. #### final def notifyAll(): Unit

    Definition Classes
      AnyRef

75. #### def padTo[A1 >: Char](len: Int, elem: A1): collection.Iterator[A1]

    Definition Classes
      Iterator

76. #### def partition(p: (Char) ⇒ Boolean): (collection.Iterator[Char], collection.Iterator[Char])

    Definition Classes
      Iterator

77. #### def patch[B >: Char](from: Int, patchElems: collection.Iterator[B], replaced: Int): collection.Iterator[B]

    Definition Classes
      Iterator

78. #### def product[B >: Char](implicit num: Numeric[B]): B

    Definition Classes
      TraversableOnce → GenTraversableOnce

79. #### def reduce[A1 >: Char](op: (A1, A1) ⇒ A1): A1

    Definition Classes
      TraversableOnce → GenTraversableOnce

80. #### def reduceLeft[B >: Char](op: (B, Char) ⇒ B): B

    Definition Classes
      TraversableOnce

81. #### def reduceLeftOption[B >: Char](op: (B, Char) ⇒ B): Option[B]

    Definition Classes
      TraversableOnce → GenTraversableOnce

82. #### def reduceOption[A1 >: Char](op: (A1, A1) ⇒ A1): Option[A1]

    Definition Classes
      TraversableOnce → GenTraversableOnce

83. #### def reduceRight[B >: Char](op: (Char, B) ⇒ B): B

    Definition Classes
      TraversableOnce → GenTraversableOnce

84. #### def reduceRightOption[B >: Char](op: (Char, B) ⇒ B): Option[B]

    Definition Classes
      TraversableOnce → GenTraversableOnce

85. #### def reversed: List[Char]

    Attributes
      protected[this]
    Definition Classes
      TraversableOnce

86. #### def sameElements(that: collection.Iterator[_]): Boolean

    Definition Classes
      Iterator

87. #### def scanLeft[B](z: B)(op: (B, Char) ⇒ B): collection.Iterator[B]

    Definition Classes
      Iterator

88. #### def scanRight[B](z: B)(op: (Char, B) ⇒ B): collection.Iterator[B]

    Definition Classes
      Iterator

89. #### def seq: collection.Iterator[Char]

    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce

90. #### def size: Int

    Definition Classes
      TraversableOnce → GenTraversableOnce

91. #### def slice(from: Int, until: Int): collection.Iterator[Char]

    Definition Classes
      Iterator

92. #### def sliding[B >: Char](size: Int, step: Int): GroupedIterator[B]

    Definition Classes
      Iterator

93. #### def span(p: (Char) ⇒ Boolean): (collection.Iterator[Char], collection.Iterator[Char])

    Definition Classes
      Iterator

94. #### def sum[B >: Char](implicit num: Numeric[B]): B

    Definition Classes
      TraversableOnce → GenTraversableOnce

95. #### final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
      AnyRef

96. #### def take(n: Int): collection.Iterator[Char]

    Definition Classes
      Iterator

97. #### def takeWhile(p: (Char) ⇒ Boolean): collection.Iterator[Char]

    Definition Classes
      Iterator

98. #### def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Char, Col[Char]]): Col[Char]

    Definition Classes
      TraversableOnce → GenTraversableOnce

99. #### def toArray[B >: Char](implicit arg0: ClassTag[B]): Array[B]

    Definition Classes
      TraversableOnce → GenTraversableOnce

100. #### def toBuffer[B >: Char]: Buffer[B]

     Definition Classes
       TraversableOnce → GenTraversableOnce

101. #### def toIndexedSeq: collection.immutable.IndexedSeq[Char]

     Definition Classes
       TraversableOnce → GenTraversableOnce

102. #### def toIterable: collection.Iterable[Char]

     Definition Classes
       TraversableOnce → GenTraversableOnce

103. #### def toIterator: collection.Iterator[Char]

     Definition Classes
       Iterator → GenTraversableOnce

104. #### def toList: List[Char]

     Definition Classes
       TraversableOnce → GenTraversableOnce

105. #### def toMap[T, U](implicit ev: <:<[Char, (T, U)]): Map[T, U]

     Definition Classes
       TraversableOnce → GenTraversableOnce

106. #### def toSeq: collection.Seq[Char]

     Definition Classes
       TraversableOnce → GenTraversableOnce

107. #### def toSet[B >: Char]: collection.immutable.Set[B]

     Definition Classes
       TraversableOnce → GenTraversableOnce

108. #### def toStream: collection.immutable.Stream[Char]

     Definition Classes
       Iterator → GenTraversableOnce

109. #### def toString(): String

     Definition Classes
       Iterator → AnyRef → Any

110. #### def toTraversable: collection.Traversable[Char]

     Definition Classes
       Iterator → TraversableOnce → GenTraversableOnce

111. #### def toVector: Vector[Char]

     Definition Classes
       TraversableOnce → GenTraversableOnce

112. #### final def wait(): Unit

     Definition Classes
       AnyRef
     Annotations
       @throws( ... )

113. #### final def wait(arg0: Long, arg1: Int): Unit

     Definition Classes
       AnyRef
     Annotations
       @throws( ... )

114. #### final def wait(arg0: Long): Unit

     Definition Classes
       AnyRef
     Annotations
       @throws( ... )

115. #### def withFilter(p: (Char) ⇒ Boolean): collection.Iterator[Char]

     Definition Classes
       Iterator

116. #### def zip[B](that: collection.Iterator[B]): collection.Iterator[(Char, B)]

     Definition Classes
       Iterator

117. #### def zipAll[B, A1 >: Char, B1 >: B](that: collection.Iterator[B], thisElem: A1, thatElem: B1): collection.Iterator[(A1, B1)]

     Definition Classes
       Iterator

118. #### def zipWithIndex: collection.Iterator[(Char, Int)]

     Definition Classes
       Iterator

119. #### def →[B](y: B): (JavaCharArrayReader, B)

     Implicit information
       This member is added by an implicit conversion from JavaCharArrayReader to ArrowAssoc[JavaCharArrayReader] performed by method ArrowAssoc in scala.Predef.
     Definition Classes
       ArrowAssoc

### Shadowed Implicit Value Members

1. #### def filter(p: (Char) ⇒ Boolean): collection.TraversableOnce[Char]

   Implicit information
     This member is added by an implicit conversion from JavaCharArrayReader to MonadOps[Char] performed by method MonadOps in scala.collection.TraversableOnce.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (javaCharArrayReader: MonadOps[Char]).filter(p)

   Definition Classes
     MonadOps

2. #### def flatMap[B](f: (Char) ⇒ GenTraversableOnce[B]): collection.TraversableOnce[B]

   Implicit information
     This member is added by an implicit conversion from JavaCharArrayReader to MonadOps[Char] performed by method MonadOps in scala.collection.TraversableOnce.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (javaCharArrayReader: MonadOps[Char]).flatMap(f)

   Definition Classes
     MonadOps

3. #### def map[B](f: (Char) ⇒ B): collection.TraversableOnce[B]

   Implicit information
     This member is added by an implicit conversion from JavaCharArrayReader to MonadOps[Char] performed by method MonadOps in scala.collection.TraversableOnce.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (javaCharArrayReader: MonadOps[Char]).map(f)

   Definition Classes
     MonadOps

4. #### def withFilter(p: (Char) ⇒ Boolean): collection.Iterator[Char]

   Implicit information
     This member is added by an implicit conversion from JavaCharArrayReader to MonadOps[Char] performed by method MonadOps in scala.collection.TraversableOnce.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (javaCharArrayReader: MonadOps[Char]).withFilter(p)

   Definition Classes
     MonadOps

### Inherited from Cloneable

### Inherited from java.lang.Cloneable

### Inherited from collection.Iterator[Char]

### Inherited from collection.TraversableOnce[Char]

### Inherited from GenTraversableOnce[Char]

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion MonadOps from JavaCharArrayReader to MonadOps[Char]

### Inherited by implicit conversion any2stringadd from JavaCharArrayReader to any2stringadd[JavaCharArrayReader]

### Inherited by implicit conversion StringFormat from JavaCharArrayReader to StringFormat[JavaCharArrayReader]

### Inherited by implicit conversion Ensuring from JavaCharArrayReader to Ensuring[JavaCharArrayReader]

### Inherited by implicit conversion ArrowAssoc from JavaCharArrayReader to ArrowAssoc[JavaCharArrayReader]

### Inherited by implicit conversion alternateImplicit from JavaCharArrayReader to ForceImplicitAmbiguity

### Ungrouped