Scala Compiler2.12.13 < 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
- DefaultJarFactory
- DirectoryClassPath
- DocStrings
- EfficientClassPath
- EfficientClassPathCallBack
- EmptyAction
- Exceptional
- FailedInterrupt
- InterruptReq
- JarFactory
- 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.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
7.  def addString(b: StringBuilder): StringBuilder
   Definition Classes
     TraversableOnce
8.  def addString(b: StringBuilder, sep: String): StringBuilder
   Definition Classes
     TraversableOnce
9.  def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
   Definition Classes
     TraversableOnce
10.  def aggregate[B](z: ⇒ B)(seqop: (B, Char) ⇒ B, combop: (B, B) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
11.  final def asInstanceOf[T0]: T0
    Definition Classes
      Any
12.  var bp: Int
13.  def buffered: collection.BufferedIterator[Char]
    Definition Classes
      Iterator
14.  var ch: Char

    the line and column position of the current character

15.  def clone(): AnyRef
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
16.  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`.

17.  def collectFirst[B](pf: PartialFunction[Char, B]): Option[B]
    Definition Classes
      TraversableOnce
18.  def contains(elem: Any): Boolean
    Definition Classes
      Iterator
19.  def copy: JavaCharArrayReader
20.  def copyToArray[B >: Char](xs: Array[B], start: Int, len: Int): Unit
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
21.  def copyToArray[B >: Char](xs: Array[B]): Unit
    Definition Classes
      TraversableOnce → GenTraversableOnce
22.  def copyToArray[B >: Char](xs: Array[B], start: Int): Unit
    Definition Classes
      TraversableOnce → GenTraversableOnce
23.  def copyToBuffer[B >: Char](dest: Buffer[B]): Unit
    Definition Classes
      TraversableOnce
24.  def corresponds[B](that: GenTraversableOnce[B])(p: (Char, B) ⇒ Boolean): Boolean
    Definition Classes
      Iterator
25.  def count(p: (Char) ⇒ Boolean): Int
    Definition Classes
      TraversableOnce → GenTraversableOnce
26.  def cpos: Int
27.  def drop(n: Int): collection.Iterator[Char]
    Definition Classes
      Iterator
28.  def dropWhile(p: (Char) ⇒ Boolean): collection.Iterator[Char]
    Definition Classes
      Iterator
29.  def duplicate: (collection.Iterator[Char], collection.Iterator[Char])
    Definition Classes
      Iterator
30.  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
31.  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
32.  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
33.  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
34.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
35.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
36.  def exists(p: (Char) ⇒ Boolean): Boolean
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
37.  def filter(p: (Char) ⇒ Boolean): collection.Iterator[Char]
    Definition Classes
      Iterator
38.  def filterNot(p: (Char) ⇒ Boolean): collection.Iterator[Char]
    Definition Classes
      Iterator
39.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
40.  def find(p: (Char) ⇒ Boolean): Option[Char]
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
41.  def flatMap[B](f: (Char) ⇒ GenTraversableOnce[B]): collection.Iterator[B]
    Definition Classes
      Iterator
42.  def fold[A1 >: Char](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
      TraversableOnce → GenTraversableOnce
43.  def foldLeft[B](z: B)(op: (B, Char) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
44.  def foldRight[B](z: B)(op: (Char, B) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
45.  def forall(p: (Char) ⇒ Boolean): Boolean
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
46.  def foreach[U](f: (Char) ⇒ U): Unit
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
47.  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()
48.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
49.  def grouped[B >: Char](size: Int): GroupedIterator[B]
    Definition Classes
      Iterator
50.  def hasDefiniteSize: Boolean
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
51.  def hasNext: Boolean
    Definition Classes
      JavaCharArrayReader → Iterator
52.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
53.  def indexOf[B >: Char](elem: B, from: Int): Int
    Definition Classes
      Iterator
54.  def indexOf[B >: Char](elem: B): Int
    Definition Classes
      Iterator
55.  def indexWhere(p: (Char) ⇒ Boolean, from: Int): 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
    Annotations
      @native()
74.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
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 sizeHintIfCheap: Int
    Attributes
      protected[collection]
    Definition Classes
      GenTraversableOnce
92.  def slice(from: Int, until: Int): collection.Iterator[Char]
    Definition Classes
      Iterator
93.  def sliceIterator(from: Int, until: Int): collection.Iterator[Char]
    Attributes
      protected
    Definition Classes
      Iterator
94.  def sliding[B >: Char](size: Int, step: Int): GroupedIterator[B]
    Definition Classes
      Iterator
95.  def span(p: (Char) ⇒ Boolean): (collection.Iterator[Char], collection.Iterator[Char])
    Definition Classes
      Iterator
96.  def sum[B >: Char](implicit num: Numeric[B]): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
97.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
98.  def take(n: Int): collection.Iterator[Char]
    Definition Classes
      Iterator
99.  def takeWhile(p: (Char) ⇒ Boolean): collection.Iterator[Char]
    Definition Classes
      Iterator
100.  def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Char, Col[Char]]): Col[Char]
     Definition Classes
       TraversableOnce → GenTraversableOnce
101.  def toArray[B >: Char](implicit arg0: ClassTag[B]): Array[B]
     Definition Classes
       TraversableOnce → GenTraversableOnce
102.  def toBuffer[B >: Char]: Buffer[B]
     Definition Classes
       TraversableOnce → GenTraversableOnce
103.  def toIndexedSeq: collection.immutable.IndexedSeq[Char]
     Definition Classes
       TraversableOnce → GenTraversableOnce
104.  def toIterable: collection.Iterable[Char]
     Definition Classes
       TraversableOnce → GenTraversableOnce
105.  def toIterator: collection.Iterator[Char]
     Definition Classes
       Iterator → GenTraversableOnce
106.  def toList: List[Char]
     Definition Classes
       TraversableOnce → GenTraversableOnce
107.  def toMap[T, U](implicit ev: <:<[Char, (T, U)]): Map[T, U]
     Definition Classes
       TraversableOnce → GenTraversableOnce
108.  def toSeq: collection.Seq[Char]
     Definition Classes
       TraversableOnce → GenTraversableOnce
109.  def toSet[B >: Char]: collection.immutable.Set[B]
     Definition Classes
       TraversableOnce → GenTraversableOnce
110.  def toStream: collection.immutable.Stream[Char]
     Definition Classes
       Iterator → GenTraversableOnce
111.  def toString(): String
     Definition Classes
       Iterator → AnyRef → Any
112.  def toTraversable: collection.Traversable[Char]
     Definition Classes
       Iterator → TraversableOnce → GenTraversableOnce
113.  def toVector: Vector[Char]
     Definition Classes
       TraversableOnce → GenTraversableOnce
114.  final def wait(): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
115.  final def wait(arg0: Long, arg1: Int): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
116.  final def wait(arg0: Long): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... ) @native()
117.  def withFilter(p: (Char) ⇒ Boolean): collection.Iterator[Char]
     Definition Classes
       Iterator
118.  def zip[B](that: collection.Iterator[B]): collection.Iterator[(Char, B)]
     Definition Classes
       Iterator
119.  def zipAll[B, A1 >: Char, B1 >: B](that: collection.Iterator[B], thisElem: A1, thatElem: B1): collection.Iterator[(A1, B1)]
     Definition Classes
       Iterator
120.  def zipWithIndex: collection.Iterator[(Char, Int)]
     Definition Classes
       Iterator
121.  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

### Deprecated Value Members

1.  def /:[B](z: B)(op: (B, Char) ⇒ B): B
   Definition Classes
     TraversableOnce → GenTraversableOnce
   Annotations
     @deprecated
   Deprecated

     (Since version 2.12.10) Use foldLeft instead of /:

2.  def :\[B](z: B)(op: (Char, B) ⇒ B): B
   Definition Classes
     TraversableOnce → GenTraversableOnce
   Annotations
     @deprecated
   Deprecated

     (Since version 2.12.10) Use foldRight instead of :\

### 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