sealed
trait
Extractor[-A, +B] extends (A) ⇒ Option[B]
Abstract Value Members
-
abstract
def
unapply(a: A): Option[B]
Concrete Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (Extractor[A, B], B)
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
andThen[A](g: (Option[B]) ⇒ A): (A) ⇒ A
-
final
def
apply(a: A): Option[B]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
compose[A](g: (A) ⇒ A): (A) ⇒ Option[B]
-
def
ensuring(cond: (Extractor[A, B]) ⇒ Boolean, msg: ⇒ Any): Extractor[A, B]
-
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Extractor[A, B]
-
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
forall: Extractor[Seq[Any], Seq[B]]
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
final
def
wait(): Unit
-
def
→[B](y: B): (Extractor[A, B], B)
Shadowed Implicit Value Members
-
def
extract: Extractor[Any, B]
-
def
extract: Extractor[Any, Option[B]] { def unapply(a: Any): Some[Option[B]] }
-
val
self: Any
-
val
self: Any
Deprecated Value Members
-
def
finalize(): Unit
-
-
Inherited from (A) ⇒ Option[B]
Inherited from AnyRef
Inherited from Any
Inherited by implicit conversion any2ArrowAssoc from
Extractor[A, B] to ArrowAssoc[Extractor[A, B]]
Inherited by implicit conversion any2Ensuring from
Extractor[A, B] to Ensuring[Extractor[A, B]]
A pattern that can be used in
match
/case
expressions.