sealed trait Maybe[+T] extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- Maybe
- AnyRef
- Any
Implicitly
- by explicitOfSome
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Maybe[T], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
- def ensuring(cond: (Maybe[T]) ⇒ Boolean, msg: ⇒ Any): Maybe[T]
- def ensuring(cond: (Maybe[T]) ⇒ Boolean): Maybe[T]
- def ensuring(cond: Boolean, msg: ⇒ Any): Maybe[T]
- def ensuring(cond: Boolean): Maybe[T]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def foreach(f: (T) ⇒ Unit): Unit
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getOrElse[S >: T](default: ⇒ S): S
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[S](f: (T) ⇒ S): Maybe[S]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def →[B](y: B): (Maybe[T], B)
Shadowed Implicit Value Members
-
def
foreach(f: (Maybe[T]) ⇒ Unit): Unit
- Implicit
- This member is added by an implicit conversion from Maybe[T] to Maybe[Maybe[T]] performed by method explicitOfSome in gapt.utils.Maybe1.
- 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:(maybe: Maybe[Maybe[T]]).foreach(f)
-
def
getOrElse[S >: T](default: ⇒ S): S
- Implicit
- This member is added by an implicit conversion from Maybe[T] to Maybe[Maybe[T]] performed by method explicitOfSome in gapt.utils.Maybe1.
- 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:(maybe: Maybe[Maybe[T]]).getOrElse(default)
-
def
map[S](f: (Maybe[T]) ⇒ S): Maybe[S]
- Implicit
- This member is added by an implicit conversion from Maybe[T] to Maybe[Maybe[T]] performed by method explicitOfSome in gapt.utils.Maybe1.
- 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:(maybe: Maybe[Maybe[T]]).map(f)
This is the API documentation for GAPT.
The main package is gapt.