Scala Library
|
|
scala/Option.scala
]
object
Option
extends
AnyRefMethod Summary | |
def
|
apply
[A](x : A) : Option[A]
An Option factory which creates Some(value) if the argument is not null,
and None if it is null.
|
implicit def
|
option2Iterable
[A](xo : Option[A]) : Iterable[A]
An implicit conversion that converts an option to an iterable value
|
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
x -
the value
Scala Library
|
|