scala.tools.nsc.backend.icode.Opcodes.opcodes

# DUP

#### case class DUP(typ: ICodes.TypeKind) extends ICodes.Instruction with Product with Serializable

This class represents a DUP instruction Stack: ...:something ->: ...:something:something

Linear Supertypes
Serializable, java.io.Serializable, Product, Equals, ICodes.Instruction, Cloneable, java.lang.Cloneable, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering

1. Alphabetic
2. By inheritance

Inherited

1. DUP
2. Serializable
3. Serializable
4. Product
5. Equals
6. Instruction
7. Cloneable
8. Cloneable
9. AnyRef
10. Any

Implicitly

1. by any2stringadd
2. by StringFormat
3. by Ensuring
4. by ArrowAssoc

1. Hide All
2. Show all

Learn more about member selection
Visibility

1. Public
2. All

### Instance Constructors

1. #### new DUP(typ: ICodes.TypeKind)

### 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 DUP to any2stringadd[DUP] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd

4. #### def ->[B](y: B): (DUP, B)

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

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

   Definition Classes
     AnyRef → Any

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

   Definition Classes
     Any

7. #### def category: Int

   Definition Classes
     DUP → Instruction

8. #### def clone(): ICodes.Instruction

   Clone this instruction.

   Clone this instruction.

   Definition Classes
     Instruction → AnyRef

9. #### def consumed: Int

   This abstract method returns the number of used elements on the stack

   This abstract method returns the number of used elements on the stack

   Definition Classes
     DUP → Instruction

10. #### def consumedTypes: collection.immutable.List[ICodes.TypeKind]

    This instruction consumes these types from the top of the stack, the first element in the list is the deepest element on the stack.

    This instruction consumes these types from the top of the stack, the first element in the list is the deepest element on the stack.

    Definition Classes
      DUP → Instruction

11. #### def ensuring(cond: (DUP) ⇒ Boolean, msg: ⇒ Any): DUP

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

12. #### def ensuring(cond: (DUP) ⇒ Boolean): DUP

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

13. #### def ensuring(cond: Boolean, msg: ⇒ Any): DUP

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

14. #### def ensuring(cond: Boolean): DUP

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

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

    Definition Classes
      AnyRef

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

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

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

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

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

    Definition Classes
      AnyRef → Any

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

    Definition Classes
      Any

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

    Definition Classes
      AnyRef

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

    Definition Classes
      AnyRef

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

    Definition Classes
      AnyRef

23. #### def pos: Position

    Definition Classes
      Instruction

24. #### def produced: Int

    This abstract method returns the number of produced elements on the stack

    This abstract method returns the number of produced elements on the stack

    Definition Classes
      DUP → Instruction

25. #### def producedTypes: collection.immutable.List[ICodes.TypeKind]

    This instruction produces these types on top of the stack.

    This instruction produces these types on top of the stack.

    Definition Classes
      DUP → Instruction

26. #### def setPos(p: Position): DUP.this.type

    Definition Classes
      Instruction

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

    Definition Classes
      AnyRef

28. #### val typ: ICodes.TypeKind

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

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

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

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

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

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

32. #### def →[B](y: B): (DUP, B)

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

### Inherited from Serializable

### Inherited from java.io.Serializable

### Inherited from Product

### Inherited from Equals

### Inherited from ICodes.Instruction

### Inherited from Cloneable

### Inherited from java.lang.Cloneable

### Inherited from AnyRef

### Inherited from Any

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

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

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

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

### Ungrouped