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 backend
  Definition Classes
    nsc
-  package jvm
  Definition Classes
    backend
-  package opt
  Definition Classes
    jvm
-  abstract class BoxUnbox extends AnyRef
  Definition Classes
    opt
- BoxConsumer
- BoxCreation
- BoxKind
- BoxedPrimitiveTypeCheck
- CopyOpsIterator
- EscapingConsumer
- InstanceCreation
- ModuleFactory
- ModuleGetter
- PrimitiveBox
- PrimitiveBoxingGetter
- PrimitiveUnboxingGetter
- Ref
- StaticFactory
- StaticGetterOrInstanceRead
- StaticSetterOrInstanceWrite
- Tuple

c

scala.tools.nsc.backend.jvm.opt.BoxUnbox

# CopyOpsIterator 

###

#### class CopyOpsIterator extends Iterator[AbstractInsnNode]

For a set of box creation operations and a corresponding set of box consumer operations, this iterator returns all copy operations (load, store, dup) that are in between.

Source
  BoxUnbox.scala

Linear Supertypes
collection.Iterator[AbstractInsnNode], collection.TraversableOnce[AbstractInsnNode], GenTraversableOnce[AbstractInsnNode], AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. CopyOpsIterator
2. Iterator
3. TraversableOnce
4. GenTraversableOnce
5. AnyRef
6. 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 CopyOpsIterator(initialCreations: Set[BoxCreation], finalCons: Set[BoxConsumer], prodCons: (backendUtils)#ProdConsAnalyzer)

### 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 CopyOpsIterator to any2stringadd[CopyOpsIterator] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ++[B >: AbstractInsnNode](that: ⇒ GenTraversableOnce[B]): collection.Iterator[B]
   Definition Classes
     Iterator
5.  def ->[B](y: B): (CopyOpsIterator, B)
   Implicit
     This member is added by an implicit conversion from CopyOpsIterator to ArrowAssoc[CopyOpsIterator] 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, AbstractInsnNode) ⇒ B, combop: (B, B) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
11.  final def asInstanceOf[T0]: T0
    Definition Classes
      Any
12.  def buffered: collection.BufferedIterator[AbstractInsnNode]
    Definition Classes
      Iterator
13.  def clone(): AnyRef
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
14.  def collect[B](pf: PartialFunction[AbstractInsnNode, 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`.

15.  def collectFirst[B](pf: PartialFunction[AbstractInsnNode, B]): Option[B]
    Definition Classes
      TraversableOnce
16.  def contains(elem: Any): Boolean
    Definition Classes
      Iterator
17.  def copyToArray[B >: AbstractInsnNode](xs: Array[B], start: Int, len: Int): Unit
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
18.  def copyToArray[B >: AbstractInsnNode](xs: Array[B]): Unit
    Definition Classes
      TraversableOnce → GenTraversableOnce
19.  def copyToArray[B >: AbstractInsnNode](xs: Array[B], start: Int): Unit
    Definition Classes
      TraversableOnce → GenTraversableOnce
20.  def copyToBuffer[B >: AbstractInsnNode](dest: Buffer[B]): Unit
    Definition Classes
      TraversableOnce
21.  def corresponds[B](that: GenTraversableOnce[B])(p: (AbstractInsnNode, B) ⇒ Boolean): Boolean
    Definition Classes
      Iterator
22.  def count(p: (AbstractInsnNode) ⇒ Boolean): Int
    Definition Classes
      TraversableOnce → GenTraversableOnce
23.  def drop(n: Int): collection.Iterator[AbstractInsnNode]
    Definition Classes
      Iterator
24.  def dropWhile(p: (AbstractInsnNode) ⇒ Boolean): collection.Iterator[AbstractInsnNode]
    Definition Classes
      Iterator
25.  def duplicate: (collection.Iterator[AbstractInsnNode], collection.Iterator[AbstractInsnNode])
    Definition Classes
      Iterator
26.  def ensuring(cond: (CopyOpsIterator) ⇒ Boolean, msg: ⇒ Any): CopyOpsIterator
    Implicit
      This member is added by an implicit conversion from CopyOpsIterator to Ensuring[CopyOpsIterator] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
27.  def ensuring(cond: (CopyOpsIterator) ⇒ Boolean): CopyOpsIterator
    Implicit
      This member is added by an implicit conversion from CopyOpsIterator to Ensuring[CopyOpsIterator] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
28.  def ensuring(cond: Boolean, msg: ⇒ Any): CopyOpsIterator
    Implicit
      This member is added by an implicit conversion from CopyOpsIterator to Ensuring[CopyOpsIterator] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
29.  def ensuring(cond: Boolean): CopyOpsIterator
    Implicit
      This member is added by an implicit conversion from CopyOpsIterator to Ensuring[CopyOpsIterator] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
30.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
31.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
32.  def exists(p: (AbstractInsnNode) ⇒ Boolean): Boolean
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
33.  def filter(p: (AbstractInsnNode) ⇒ Boolean): collection.Iterator[AbstractInsnNode]
    Definition Classes
      Iterator
34.  def filterNot(p: (AbstractInsnNode) ⇒ Boolean): collection.Iterator[AbstractInsnNode]
    Definition Classes
      Iterator
35.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
36.  def find(p: (AbstractInsnNode) ⇒ Boolean): Option[AbstractInsnNode]
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
37.  def flatMap[B](f: (AbstractInsnNode) ⇒ GenTraversableOnce[B]): collection.Iterator[B]
    Definition Classes
      Iterator
38.  def fold[A1 >: AbstractInsnNode](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
      TraversableOnce → GenTraversableOnce
39.  def foldLeft[B](z: B)(op: (B, AbstractInsnNode) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
40.  def foldRight[B](z: B)(op: (AbstractInsnNode, B) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
41.  def forall(p: (AbstractInsnNode) ⇒ Boolean): Boolean
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
42.  def foreach[U](f: (AbstractInsnNode) ⇒ U): Unit
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
43.  def formatted(fmtstr: String): String
    Implicit
      This member is added by an implicit conversion from CopyOpsIterator to StringFormat[CopyOpsIterator] performed by method StringFormat in scala.Predef.
    Definition Classes
      StringFormat
    Annotations
      @inline()
44.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
45.  def grouped[B >: AbstractInsnNode](size: Int): GroupedIterator[B]
    Definition Classes
      Iterator
46.  def hasDefiniteSize: Boolean
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
47.  def hasNext: Boolean
    Definition Classes
      CopyOpsIterator → Iterator
48.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
49.  def indexOf[B >: AbstractInsnNode](elem: B, from: Int): Int
    Definition Classes
      Iterator
50.  def indexOf[B >: AbstractInsnNode](elem: B): Int
    Definition Classes
      Iterator
51.  def indexWhere(p: (AbstractInsnNode) ⇒ Boolean, from: Int): Int
    Definition Classes
      Iterator
52.  def indexWhere(p: (AbstractInsnNode) ⇒ Boolean): Int
    Definition Classes
      Iterator
53.  def isEmpty: Boolean
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
54.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
55.  def isTraversableAgain: Boolean
    Definition Classes
      Iterator → GenTraversableOnce
56.  def length: Int
    Definition Classes
      Iterator
57.  def map[B](f: (AbstractInsnNode) ⇒ B): collection.Iterator[B]
    Definition Classes
      Iterator
58.  def max[B >: AbstractInsnNode](implicit cmp: Ordering[B]): AbstractInsnNode
    Definition Classes
      TraversableOnce → GenTraversableOnce
59.  def maxBy[B](f: (AbstractInsnNode) ⇒ B)(implicit cmp: Ordering[B]): AbstractInsnNode
    Definition Classes
      TraversableOnce → GenTraversableOnce
60.  def min[B >: AbstractInsnNode](implicit cmp: Ordering[B]): AbstractInsnNode
    Definition Classes
      TraversableOnce → GenTraversableOnce
61.  def minBy[B](f: (AbstractInsnNode) ⇒ B)(implicit cmp: Ordering[B]): AbstractInsnNode
    Definition Classes
      TraversableOnce → GenTraversableOnce
62.  def mkString: String
    Definition Classes
      TraversableOnce → GenTraversableOnce
63.  def mkString(sep: String): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
64.  def mkString(start: String, sep: String, end: String): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
65.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
66.  def next(): AbstractInsnNode
    Definition Classes
      CopyOpsIterator → Iterator
67.  def nonEmpty: Boolean
    Definition Classes
      TraversableOnce → GenTraversableOnce
68.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
69.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
70.  def padTo[A1 >: AbstractInsnNode](len: Int, elem: A1): collection.Iterator[A1]
    Definition Classes
      Iterator
71.  def partition(p: (AbstractInsnNode) ⇒ Boolean): (collection.Iterator[AbstractInsnNode], collection.Iterator[AbstractInsnNode])
    Definition Classes
      Iterator
72.  def patch[B >: AbstractInsnNode](from: Int, patchElems: collection.Iterator[B], replaced: Int): collection.Iterator[B]
    Definition Classes
      Iterator
73.  def product[B >: AbstractInsnNode](implicit num: Numeric[B]): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
74.  def reduce[A1 >: AbstractInsnNode](op: (A1, A1) ⇒ A1): A1
    Definition Classes
      TraversableOnce → GenTraversableOnce
75.  def reduceLeft[B >: AbstractInsnNode](op: (B, AbstractInsnNode) ⇒ B): B
    Definition Classes
      TraversableOnce
76.  def reduceLeftOption[B >: AbstractInsnNode](op: (B, AbstractInsnNode) ⇒ B): Option[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
77.  def reduceOption[A1 >: AbstractInsnNode](op: (A1, A1) ⇒ A1): Option[A1]
    Definition Classes
      TraversableOnce → GenTraversableOnce
78.  def reduceRight[B >: AbstractInsnNode](op: (AbstractInsnNode, B) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
79.  def reduceRightOption[B >: AbstractInsnNode](op: (AbstractInsnNode, B) ⇒ B): Option[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
80.  def reversed: List[AbstractInsnNode]
    Attributes
      protected[this]
    Definition Classes
      TraversableOnce
81.  def sameElements(that: collection.Iterator[_]): Boolean
    Definition Classes
      Iterator
82.  def scanLeft[B](z: B)(op: (B, AbstractInsnNode) ⇒ B): collection.Iterator[B]
    Definition Classes
      Iterator
83.  def scanRight[B](z: B)(op: (AbstractInsnNode, B) ⇒ B): collection.Iterator[B]
    Definition Classes
      Iterator
84.  def seq: collection.Iterator[AbstractInsnNode]
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
85.  def size: Int
    Definition Classes
      TraversableOnce → GenTraversableOnce
86.  def sizeHintIfCheap: Int
    Attributes
      protected[collection]
    Definition Classes
      GenTraversableOnce
87.  def slice(from: Int, until: Int): collection.Iterator[AbstractInsnNode]
    Definition Classes
      Iterator
88.  def sliceIterator(from: Int, until: Int): collection.Iterator[AbstractInsnNode]
    Attributes
      protected
    Definition Classes
      Iterator
89.  def sliding[B >: AbstractInsnNode](size: Int, step: Int): GroupedIterator[B]
    Definition Classes
      Iterator
90.  def span(p: (AbstractInsnNode) ⇒ Boolean): (collection.Iterator[AbstractInsnNode], collection.Iterator[AbstractInsnNode])
    Definition Classes
      Iterator
91.  def sum[B >: AbstractInsnNode](implicit num: Numeric[B]): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
92.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
93.  def take(n: Int): collection.Iterator[AbstractInsnNode]
    Definition Classes
      Iterator
94.  def takeWhile(p: (AbstractInsnNode) ⇒ Boolean): collection.Iterator[AbstractInsnNode]
    Definition Classes
      Iterator
95.  def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, AbstractInsnNode, Col[AbstractInsnNode]]): Col[AbstractInsnNode]
    Definition Classes
      TraversableOnce → GenTraversableOnce
96.  def toArray[B >: AbstractInsnNode](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
97.  def toBuffer[B >: AbstractInsnNode]: Buffer[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
98.  def toIndexedSeq: collection.immutable.IndexedSeq[AbstractInsnNode]
    Definition Classes
      TraversableOnce → GenTraversableOnce
99.  def toIterable: collection.Iterable[AbstractInsnNode]
    Definition Classes
      TraversableOnce → GenTraversableOnce
100.  def toIterator: collection.Iterator[AbstractInsnNode]
     Definition Classes
       Iterator → GenTraversableOnce
101.  def toList: List[AbstractInsnNode]
     Definition Classes
       TraversableOnce → GenTraversableOnce
102.  def toMap[T, U](implicit ev: <:<[AbstractInsnNode, (T, U)]): Map[T, U]
     Definition Classes
       TraversableOnce → GenTraversableOnce
103.  def toSeq: collection.Seq[AbstractInsnNode]
     Definition Classes
       TraversableOnce → GenTraversableOnce
104.  def toSet[B >: AbstractInsnNode]: Set[B]
     Definition Classes
       TraversableOnce → GenTraversableOnce
105.  def toStream: collection.immutable.Stream[AbstractInsnNode]
     Definition Classes
       Iterator → GenTraversableOnce
106.  def toString(): String
     Definition Classes
       Iterator → AnyRef → Any
107.  def toTraversable: collection.Traversable[AbstractInsnNode]
     Definition Classes
       Iterator → TraversableOnce → GenTraversableOnce
108.  def toVector: Vector[AbstractInsnNode]
     Definition Classes
       TraversableOnce → GenTraversableOnce
109.  final def wait(): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
110.  final def wait(arg0: Long, arg1: Int): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
111.  final def wait(arg0: Long): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... ) @native()
112.  def withFilter(p: (AbstractInsnNode) ⇒ Boolean): collection.Iterator[AbstractInsnNode]
     Definition Classes
       Iterator
113.  def zip[B](that: collection.Iterator[B]): collection.Iterator[(AbstractInsnNode, B)]
     Definition Classes
       Iterator
114.  def zipAll[B, A1 >: AbstractInsnNode, B1 >: B](that: collection.Iterator[B], thisElem: A1, thatElem: B1): collection.Iterator[(A1, B1)]
     Definition Classes
       Iterator
115.  def zipWithIndex: collection.Iterator[(AbstractInsnNode, Int)]
     Definition Classes
       Iterator
116.  def →[B](y: B): (CopyOpsIterator, B)
     Implicit
       This member is added by an implicit conversion from CopyOpsIterator to ArrowAssoc[CopyOpsIterator] performed by method ArrowAssoc in scala.Predef.
     Definition Classes
       ArrowAssoc

### Shadowed Implicit Value Members

1.  def filter(p: (AbstractInsnNode) ⇒ Boolean): collection.TraversableOnce[AbstractInsnNode]
   Implicit
     This member is added by an implicit conversion from CopyOpsIterator to MonadOps[AbstractInsnNode] 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:

         (copyOpsIterator: MonadOps[AbstractInsnNode]).filter(p)

   Definition Classes
     MonadOps
2.  def flatMap[B](f: (AbstractInsnNode) ⇒ GenTraversableOnce[B]): collection.TraversableOnce[B]
   Implicit
     This member is added by an implicit conversion from CopyOpsIterator to MonadOps[AbstractInsnNode] 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:

         (copyOpsIterator: MonadOps[AbstractInsnNode]).flatMap(f)

   Definition Classes
     MonadOps
3.  def map[B](f: (AbstractInsnNode) ⇒ B): collection.TraversableOnce[B]
   Implicit
     This member is added by an implicit conversion from CopyOpsIterator to MonadOps[AbstractInsnNode] 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:

         (copyOpsIterator: MonadOps[AbstractInsnNode]).map(f)

   Definition Classes
     MonadOps
4.  def withFilter(p: (AbstractInsnNode) ⇒ Boolean): collection.Iterator[AbstractInsnNode]
   Implicit
     This member is added by an implicit conversion from CopyOpsIterator to MonadOps[AbstractInsnNode] 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:

         (copyOpsIterator: MonadOps[AbstractInsnNode]).withFilter(p)

   Definition Classes
     MonadOps

### Deprecated Value Members

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

     (Since version 2.12.10) Use foldLeft instead of /:

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

     (Since version 2.12.10) Use foldRight instead of :\

### Inherited from collection.Iterator[AbstractInsnNode]

### Inherited from collection.TraversableOnce[AbstractInsnNode]

### Inherited from GenTraversableOnce[AbstractInsnNode]

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion MonadOps from CopyOpsIterator to MonadOps[AbstractInsnNode]

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

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

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

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

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

### Ungrouped