Scala Compiler2.12.9 < Back
 

# Packages

-  package root

  The Scala compiler and reflection APIs.

  The Scala compiler and reflection APIs.

  Definition Classes
    root
-  package scala
  Definition Classes
    root
-  package tools
  Definition Classes
    scala
-  package nsc
  Definition Classes
    tools
-  package util
  Definition Classes
    nsc
- CharArrayReader
- CharArrayReaderData
- ClassPath
- ClassRepresentation
- DirectoryClassPath
- DocStrings
- EmptyAction
- Exceptional
- FailedInterrupt
- InterruptReq
- JavaCharArrayReader
- JavaClassPath
- MergedClassPath
- ShowPickled
- SimpleTracer
- StackTraceOps
- WorkScheduler

c

scala.tools.nsc.util

# JavaCharArrayReader 

###

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

Source
  JavaCharArrayReader.scala

Linear Supertypes
Cloneable, java.lang.Cloneable, collection.Iterator[Char], collection.TraversableOnce[Char], GenTraversableOnce[Char], AnyRef, Any
 
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

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
     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
     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[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
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
      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
      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
      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
      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[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
      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
    Annotations
      @native()
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
    Annotations
      @native()
55.  def indexOf[B >: Char](elem: B, from: Int): Int
    Definition Classes
      Iterator
56.  def indexOf[B >: Char](elem: B): Int
    Definition Classes
      Iterator
57.  def indexWhere(p: (Char) ⇒ Boolean, from: Int): Int
    Definition Classes
      Iterator
58.  def indexWhere(p: (Char) ⇒ Boolean): Int
    Definition Classes
      Iterator
59.  def isEmpty: Boolean
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
60.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
61.  def isTraversableAgain: Boolean
    Definition Classes
      Iterator → GenTraversableOnce
62.  var isUnicode: Boolean
63.  def length: Int
    Definition Classes
      Iterator
64.  def map[B](f: (Char) ⇒ B): collection.Iterator[B]
    Definition Classes
      Iterator
65.  def max[B >: Char](implicit cmp: Ordering[B]): Char
    Definition Classes
      TraversableOnce → GenTraversableOnce
66.  def maxBy[B](f: (Char) ⇒ B)(implicit cmp: Ordering[B]): Char
    Definition Classes
      TraversableOnce → GenTraversableOnce
67.  def min[B >: Char](implicit cmp: Ordering[B]): Char
    Definition Classes
      TraversableOnce → GenTraversableOnce
68.  def minBy[B](f: (Char) ⇒ B)(implicit cmp: Ordering[B]): Char
    Definition Classes
      TraversableOnce → GenTraversableOnce
69.  def mkString: String
    Definition Classes
      TraversableOnce → GenTraversableOnce
70.  def mkString(sep: String): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
71.  def mkString(start: String, sep: String, end: String): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
72.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
73.  def next(): Char
    Definition Classes
      JavaCharArrayReader → Iterator
74.  def nonEmpty: Boolean
    Definition Classes
      TraversableOnce → GenTraversableOnce
75.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
76.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
77.  def padTo[A1 >: Char](len: Int, elem: A1): collection.Iterator[A1]
    Definition Classes
      Iterator
78.  def partition(p: (Char) ⇒ Boolean): (collection.Iterator[Char], collection.Iterator[Char])
    Definition Classes
      Iterator
79.  def patch[B >: Char](from: Int, patchElems: collection.Iterator[B], replaced: Int): collection.Iterator[B]
    Definition Classes
      Iterator
80.  def product[B >: Char](implicit num: Numeric[B]): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
81.  def reduce[A1 >: Char](op: (A1, A1) ⇒ A1): A1
    Definition Classes
      TraversableOnce → GenTraversableOnce
82.  def reduceLeft[B >: Char](op: (B, Char) ⇒ B): B
    Definition Classes
      TraversableOnce
83.  def reduceLeftOption[B >: Char](op: (B, Char) ⇒ B): Option[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
84.  def reduceOption[A1 >: Char](op: (A1, A1) ⇒ A1): Option[A1]
    Definition Classes
      TraversableOnce → GenTraversableOnce
85.  def reduceRight[B >: Char](op: (Char, B) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
86.  def reduceRightOption[B >: Char](op: (Char, B) ⇒ B): Option[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
87.  def reversed: List[Char]
    Attributes
      protected[this]
    Definition Classes
      TraversableOnce
88.  def sameElements(that: collection.Iterator[_]): Boolean
    Definition Classes
      Iterator
89.  def scanLeft[B](z: B)(op: (B, Char) ⇒ B): collection.Iterator[B]
    Definition Classes
      Iterator
90.  def scanRight[B](z: B)(op: (Char, B) ⇒ B): collection.Iterator[B]
    Definition Classes
      Iterator
91.  def seq: collection.Iterator[Char]
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
92.  def size: Int
    Definition Classes
      TraversableOnce → GenTraversableOnce
93.  def sizeHintIfCheap: Int
    Attributes
      protected[collection]
    Definition Classes
      GenTraversableOnce
94.  def slice(from: Int, until: Int): collection.Iterator[Char]
    Definition Classes
      Iterator
95.  def sliceIterator(from: Int, until: Int): collection.Iterator[Char]
    Attributes
      protected
    Definition Classes
      Iterator
96.  def sliding[B >: Char](size: Int, step: Int): GroupedIterator[B]
    Definition Classes
      Iterator
97.  def span(p: (Char) ⇒ Boolean): (collection.Iterator[Char], collection.Iterator[Char])
    Definition Classes
      Iterator
98.  def sum[B >: Char](implicit num: Numeric[B]): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
99.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
100.  def take(n: Int): collection.Iterator[Char]
     Definition Classes
       Iterator
101.  def takeWhile(p: (Char) ⇒ Boolean): collection.Iterator[Char]
     Definition Classes
       Iterator
102.  def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Char, Col[Char]]): Col[Char]
     Definition Classes
       TraversableOnce → GenTraversableOnce
103.  def toArray[B >: Char](implicit arg0: ClassTag[B]): Array[B]
     Definition Classes
       TraversableOnce → GenTraversableOnce
104.  def toBuffer[B >: Char]: Buffer[B]
     Definition Classes
       TraversableOnce → GenTraversableOnce
105.  def toIndexedSeq: collection.immutable.IndexedSeq[Char]
     Definition Classes
       TraversableOnce → GenTraversableOnce
106.  def toIterable: collection.Iterable[Char]
     Definition Classes
       TraversableOnce → GenTraversableOnce
107.  def toIterator: collection.Iterator[Char]
     Definition Classes
       Iterator → GenTraversableOnce
108.  def toList: List[Char]
     Definition Classes
       TraversableOnce → GenTraversableOnce
109.  def toMap[T, U](implicit ev: <:<[Char, (T, U)]): Map[T, U]
     Definition Classes
       TraversableOnce → GenTraversableOnce
110.  def toSeq: collection.Seq[Char]
     Definition Classes
       TraversableOnce → GenTraversableOnce
111.  def toSet[B >: Char]: collection.immutable.Set[B]
     Definition Classes
       TraversableOnce → GenTraversableOnce
112.  def toStream: collection.immutable.Stream[Char]
     Definition Classes
       Iterator → GenTraversableOnce
113.  def toString(): String
     Definition Classes
       Iterator → AnyRef → Any
114.  def toTraversable: collection.Traversable[Char]
     Definition Classes
       Iterator → TraversableOnce → GenTraversableOnce
115.  def toVector: Vector[Char]
     Definition Classes
       TraversableOnce → GenTraversableOnce
116.  final def wait(): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
117.  final def wait(arg0: Long, arg1: Int): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
118.  final def wait(arg0: Long): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... ) @native()
119.  def withFilter(p: (Char) ⇒ Boolean): collection.Iterator[Char]
     Definition Classes
       Iterator
120.  def zip[B](that: collection.Iterator[B]): collection.Iterator[(Char, B)]
     Definition Classes
       Iterator
121.  def zipAll[B, A1 >: Char, B1 >: B](that: collection.Iterator[B], thisElem: A1, thatElem: B1): collection.Iterator[(A1, B1)]
     Definition Classes
       Iterator
122.  def zipWithIndex: collection.Iterator[(Char, Int)]
     Definition Classes
       Iterator
123.  def →[B](y: B): (JavaCharArrayReader, B)
     Implicit
       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
     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
     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
     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
     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