case class Some[+T](value: T) extends Maybe[T] with Product with Serializable
- Source
- Maybe.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Some
- Serializable
- Serializable
- Product
- Equals
- Maybe
- AnyRef
- Any
Implicitly
- by explicitOfSome
- by explicitOfSome
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Some(value: T)
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): (Some[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() @throws( ... )
- def ensuring(cond: (Some[T]) ⇒ Boolean, msg: ⇒ Any): Some[T]
- def ensuring(cond: (Some[T]) ⇒ Boolean): Some[T]
- def ensuring(cond: Boolean, msg: ⇒ Any): Some[T]
- def ensuring(cond: Boolean): Some[T]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
foreach(f: (T) ⇒ Unit): Unit
- Definition Classes
- Maybe
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getOrElse[S >: T](default: ⇒ S): S
- Definition Classes
- Maybe
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
map[S](f: (T) ⇒ S): Maybe[S]
- Definition Classes
- Maybe
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val value: T
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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( ... )
- def →[B](y: B): (Some[T], B)
Shadowed Implicit Value Members
-
def
foreach(f: (Some[T]) ⇒ Unit): Unit
- Implicit
- This member is added by an implicit conversion from Some[T] to Maybe[Some[T]] performed by method explicitOfSome in at.logic.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:(some: Maybe[Some[T]]).foreach(f)
- Definition Classes
- Maybe
-
def
foreach(f: (Some[T]) ⇒ Unit): Unit
- Implicit
- This member is added by an implicit conversion from Some[T] to Maybe[Some[T]] performed by method explicitOfSome in at.logic.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:(some: Maybe[Some[T]]).foreach(f)
- Definition Classes
- Maybe
-
def
getOrElse[S >: T](default: ⇒ S): S
- Implicit
- This member is added by an implicit conversion from Some[T] to Maybe[Some[T]] performed by method explicitOfSome in at.logic.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:(some: Maybe[Some[T]]).getOrElse(default)
- Definition Classes
- Maybe
-
def
getOrElse[S >: T](default: ⇒ S): S
- Implicit
- This member is added by an implicit conversion from Some[T] to Maybe[Some[T]] performed by method explicitOfSome in at.logic.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:(some: Maybe[Some[T]]).getOrElse(default)
- Definition Classes
- Maybe
-
def
map[S](f: (Some[T]) ⇒ S): Maybe[S]
- Implicit
- This member is added by an implicit conversion from Some[T] to Maybe[Some[T]] performed by method explicitOfSome in at.logic.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:(some: Maybe[Some[T]]).map(f)
- Definition Classes
- Maybe
-
def
map[S](f: (Some[T]) ⇒ S): Maybe[S]
- Implicit
- This member is added by an implicit conversion from Some[T] to Maybe[Some[T]] performed by method explicitOfSome in at.logic.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:(some: Maybe[Some[T]]).map(f)
- Definition Classes
- Maybe
This is the API documentation for GAPT.
The main package is at.logic.gapt.