Scala Library
|
|
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
Returns a string representation of the object.
|
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 |
override
def
toString : java.lang.String
The default representation is platform dependent.
Scala Library
|
|