Scala Library Documentation
|
|
scala/ByNameFunction.scala
]
trait
ByNameFunction[-A, +B]
extends
AnyRefPartialFunction[A, B]
is a
unary function where the domain does not include all values of type
A
. The function isDefinedAt
allows to
test dynamically, if a value is in the domain of the function.Method Summary | |
abstract def
|
apply (x : => A) : B |
override def
|
toString : java.lang.String |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
Scala Library Documentation
|
|