scala.Predef

# <:<

#### sealed abstract class <:<[-From, +To] extends (From) ⇒ To with Serializable

An instance of `A <:< B` witnesses that `A` is a subtype of `B`. Requiring an implicit argument of the type `A <:< B` encodes the generalized constraint `A <: B`.

Annotations
  @implicitNotFound( msg = ... )
Note

  we need a new type constructor `<:<` and evidence `conforms`, as reusing `Function1` and `identity` leads to ambiguities in case of type errors (`any2stringadd` is inferred)

  To constrain any abstract type T that's in scope in a method's argument list (not just the method's own type parameters) simply add an implicit argument of type `T <:< U`, where `U` is the required upper bound; or for lower-bounds, use: `L <:< T`, where `L` is the required lower bound.

  In part contributed by Jason Zaugg.

Linear Supertypes
Serializable, java.io.Serializable, (From) ⇒ To, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering

1. Alphabetic
2. By inheritance

Inherited

1. <:<
2. Serializable
3. Serializable
4. Function1
5. AnyRef
6. Any

Implicitly

1. by any2stringadd
2. by StringFormat
3. by Ensuring
4. by ArrowAssoc
5. by any2stringadd
6. by StringFormat
7. by Ensuring
8. by ArrowAssoc

1. Hide All
2. Show all

Learn more about member selection
Visibility

1. Public
2. All

### Instance Constructors

1. #### new <:<()

### Abstract Value Members

1. #### abstract def apply(v1: From): To

   Apply the body of this function to the argument.

   Apply the body of this function to the argument.

   returns

     the result of function application.

   Definition Classes
     Function1

### Concrete Value Members

1. #### final def !=(arg0: Any): Boolean

   Definition Classes
     AnyRef → Any

2. #### final def ##(): Int

   Definition Classes
     AnyRef → Any

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

   Definition Classes
     AnyRef → Any

4. #### def andThen[A](g: (To) ⇒ A): (From) ⇒ A

   Composes two instances of Function1 in a new Function1, with this function applied first.

   Composes two instances of Function1 in a new Function1, with this function applied first.

   A

     the result type of function `g`

   g

     a function R => A

   returns

     a new function `f` such that `f(x) == g(apply(x))`

   Definition Classes
     Function1
   Annotations
     @unspecialized()

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

   Definition Classes
     Any

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

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

7. #### def compose[A](g: (A) ⇒ From): (A) ⇒ To

   Composes two instances of Function1 in a new Function1, with this function applied last.

   Composes two instances of Function1 in a new Function1, with this function applied last.

   A

     the type to which function `g` can be applied

   g

     a function A => T1

   returns

     a new function `f` such that `f(x) == apply(g(x))`

   Definition Classes
     Function1
   Annotations
     @unspecialized()

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

   Definition Classes
     AnyRef

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

   Definition Classes
     AnyRef → Any

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

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

11. #### final def getClass(): java.lang.Class[_]

    Definition Classes
      AnyRef → Any

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

    Definition Classes
      AnyRef → Any

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

    Definition Classes
      Any

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

    Definition Classes
      AnyRef

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

    Definition Classes
      AnyRef

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

    Definition Classes
      AnyRef

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

    Definition Classes
      AnyRef

18. #### def toString(): java.lang.String

    Definition Classes
      Function1 → AnyRef → Any

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

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

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

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

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

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

### Shadowed Implicit Value Members

1. #### def +(other: String): String

   Implicit information
     This member is added by an implicit conversion from <:<[From, To] to any2stringadd[<:<[From, To]] performed by method any2stringadd in scala.Predef.
   Shadowing
     This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
     To access this member you can use a type ascription:

         (<:<: any2stringadd[<:<[From, To]]).+(other)

   Definition Classes
     any2stringadd

2. #### def +(other: String): String

   Implicit information
     This member is added by an implicit conversion from <:<[From, To] to any2stringadd[<:<[From, To]] performed by method any2stringadd in scala.Predef.
   Shadowing
     This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
     To access this member you can use a type ascription:

         (<:<: any2stringadd[<:<[From, To]]).+(other)

   Definition Classes
     any2stringadd

3. #### def ->[B](y: B): (<:<[From, To], B)

   Implicit information
     This member is added by an implicit conversion from <:<[From, To] to ArrowAssoc[<:<[From, To]] performed by method ArrowAssoc in scala.Predef.
   Shadowing
     This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
     To access this member you can use a type ascription:

         (<:<: ArrowAssoc[<:<[From, To]]).->(y)

   Definition Classes
     ArrowAssoc
   Annotations
     @inline()

4. #### def ->[B](y: B): (<:<[From, To], B)

   Implicit information
     This member is added by an implicit conversion from <:<[From, To] to ArrowAssoc[<:<[From, To]] performed by method ArrowAssoc in scala.Predef.
   Shadowing
     This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
     To access this member you can use a type ascription:

         (<:<: ArrowAssoc[<:<[From, To]]).->(y)

   Definition Classes
     ArrowAssoc
   Annotations
     @inline()

5. #### def ensuring(cond: (<:<[From, To]) ⇒ Boolean, msg: ⇒ Any): <:<[From, To]

   Implicit information
     This member is added by an implicit conversion from <:<[From, To] to Ensuring[<:<[From, To]] performed by method Ensuring in scala.Predef.
   Shadowing
     This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
     To access this member you can use a type ascription:

         (<:<: Ensuring[<:<[From, To]]).ensuring(cond, msg)

   Definition Classes
     Ensuring

6. #### def ensuring(cond: (<:<[From, To]) ⇒ Boolean): <:<[From, To]

   Implicit information
     This member is added by an implicit conversion from <:<[From, To] to Ensuring[<:<[From, To]] performed by method Ensuring in scala.Predef.
   Shadowing
     This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
     To access this member you can use a type ascription:

         (<:<: Ensuring[<:<[From, To]]).ensuring(cond)

   Definition Classes
     Ensuring

7. #### def ensuring(cond: Boolean, msg: ⇒ Any): <:<[From, To]

   Implicit information
     This member is added by an implicit conversion from <:<[From, To] to Ensuring[<:<[From, To]] performed by method Ensuring in scala.Predef.
   Shadowing
     This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
     To access this member you can use a type ascription:

         (<:<: Ensuring[<:<[From, To]]).ensuring(cond, msg)

   Definition Classes
     Ensuring

8. #### def ensuring(cond: Boolean): <:<[From, To]

   Implicit information
     This member is added by an implicit conversion from <:<[From, To] to Ensuring[<:<[From, To]] performed by method Ensuring in scala.Predef.
   Shadowing
     This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
     To access this member you can use a type ascription:

         (<:<: Ensuring[<:<[From, To]]).ensuring(cond)

   Definition Classes
     Ensuring

9. #### def ensuring(cond: (<:<[From, To]) ⇒ Boolean, msg: ⇒ Any): <:<[From, To]

   Implicit information
     This member is added by an implicit conversion from <:<[From, To] to Ensuring[<:<[From, To]] performed by method Ensuring in scala.Predef.
   Shadowing
     This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
     To access this member you can use a type ascription:

         (<:<: Ensuring[<:<[From, To]]).ensuring(cond, msg)

   Definition Classes
     Ensuring

10. #### def ensuring(cond: (<:<[From, To]) ⇒ Boolean): <:<[From, To]

    Implicit information
      This member is added by an implicit conversion from <:<[From, To] to Ensuring[<:<[From, To]] performed by method Ensuring in scala.Predef.
    Shadowing
      This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
      To access this member you can use a type ascription:

          (<:<: Ensuring[<:<[From, To]]).ensuring(cond)

    Definition Classes
      Ensuring

11. #### def ensuring(cond: Boolean, msg: ⇒ Any): <:<[From, To]

    Implicit information
      This member is added by an implicit conversion from <:<[From, To] to Ensuring[<:<[From, To]] performed by method Ensuring in scala.Predef.
    Shadowing
      This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
      To access this member you can use a type ascription:

          (<:<: Ensuring[<:<[From, To]]).ensuring(cond, msg)

    Definition Classes
      Ensuring

12. #### def ensuring(cond: Boolean): <:<[From, To]

    Implicit information
      This member is added by an implicit conversion from <:<[From, To] to Ensuring[<:<[From, To]] performed by method Ensuring in scala.Predef.
    Shadowing
      This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
      To access this member you can use a type ascription:

          (<:<: Ensuring[<:<[From, To]]).ensuring(cond)

    Definition Classes
      Ensuring

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

    Returns string formatted according to given `format` string.

    Returns string formatted according to given `format` string. Format strings are as for `String.format` (@see java.lang.String.format).

    Implicit information
      This member is added by an implicit conversion from <:<[From, To] to StringFormat[<:<[From, To]] performed by method StringFormat in scala.Predef.
    Shadowing
      This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
      To access this member you can use a type ascription:

          (<:<: StringFormat[<:<[From, To]]).formatted(fmtstr)

    Definition Classes
      StringFormat
    Annotations
      @inline()

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

    Returns string formatted according to given `format` string.

    Returns string formatted according to given `format` string. Format strings are as for `String.format` (@see java.lang.String.format).

    Implicit information
      This member is added by an implicit conversion from <:<[From, To] to StringFormat[<:<[From, To]] performed by method StringFormat in scala.Predef.
    Shadowing
      This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
      To access this member you can use a type ascription:

          (<:<: StringFormat[<:<[From, To]]).formatted(fmtstr)

    Definition Classes
      StringFormat
    Annotations
      @inline()

15. #### def →[B](y: B): (<:<[From, To], B)

    Implicit information
      This member is added by an implicit conversion from <:<[From, To] to ArrowAssoc[<:<[From, To]] performed by method ArrowAssoc in scala.Predef.
    Shadowing
      This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
      To access this member you can use a type ascription:

          (<:<: ArrowAssoc[<:<[From, To]]).→(y)

    Definition Classes
      ArrowAssoc

16. #### def →[B](y: B): (<:<[From, To], B)

    Implicit information
      This member is added by an implicit conversion from <:<[From, To] to ArrowAssoc[<:<[From, To]] performed by method ArrowAssoc in scala.Predef.
    Shadowing
      This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
      To access this member you can use a type ascription:

          (<:<: ArrowAssoc[<:<[From, To]]).→(y)

    Definition Classes
      ArrowAssoc

### Inherited from Serializable

### Inherited from java.io.Serializable

### Inherited from (From) ⇒ To

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd from <:<[From, To] to any2stringadd[<:<[From, To]]

### Inherited by implicit conversion StringFormat from <:<[From, To] to StringFormat[<:<[From, To]]

### Inherited by implicit conversion Ensuring from <:<[From, To] to Ensuring[<:<[From, To]]

### Inherited by implicit conversion ArrowAssoc from <:<[From, To] to ArrowAssoc[<:<[From, To]]

### Inherited by implicit conversion any2stringadd from <:<[From, To] to any2stringadd[<:<[From, To]]

### Inherited by implicit conversion StringFormat from <:<[From, To] to StringFormat[<:<[From, To]]

### Inherited by implicit conversion Ensuring from <:<[From, To] to Ensuring[<:<[From, To]]

### Inherited by implicit conversion ArrowAssoc from <:<[From, To] to ArrowAssoc[<:<[From, To]]

### Ungrouped