trait
PointOrEmpty[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.Predef.Stringをscala.Optionでラップしたい場合は、 例に示すような型クラスインスタンスを定義します。
単一の要素の型
1.0.0
1.0.0