trait
Converter[Derived] extends Any
Type Members
-
abstract
type
Result
Abstract Value Members
-
abstract
def
apply(derived: ⇒ Derived): Result
-
abstract
def
getClass(): Class[_]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
equals(arg0: Any): Boolean
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
toString(): String
特定の型を別の(あるいは同一の)型へ変換できることを表します。
このトレイトは型クラスとなっており、例えばscala.Intからscala.Predef.Stringへの変換を定義したい場合、 例に示すような型クラスインスタンスを定義します。
変換前の型
1.0.0
1.0.0