scala.util.Try.apply
apply[T](r: => T): Try[T]^{r.only[Control]}
- Kind
- def
- Module
scala.util.Try
Source: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
The entries of scala.util.Try in the Scala reference. This page has 21 cards.
apply[T](r: => T): Try[T]^{r.only[Control]}
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
collect[U](pf: PartialFunction[T, U]^): Try[U]^{this, pf.only[Control]}
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
failed: Try[Throwable]
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
filter(p: T => Boolean): Try[T]^{this, p.only[Control]}
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
flatMap[U](f: T => Try[U]^): Try[U]^{this, f}
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
flatten[U](implicit ev: T <:< Try[U]): Try[U]^{this}
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
fold[U](fa: Throwable => U, fb: T => U): U
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
foreach[U](f: T => U): Unit
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
get: T
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
getOrElse[U >: T](default: => U): U
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
isFailure: Boolean
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
isSuccess: Boolean
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
map[U](f: T => U): Try[U]^{this, f.only[Control]}
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
orElse[U >: T](default: => Try[U]^): Try[U]^{default}
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
recover[U >: T](pf: PartialFunction[Throwable, U]^): Try[U]^{this, pf.only[Control]}
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
recoverWith[U >: T](pf: PartialFunction[Throwable, Try[U]^]^): Try[U]^{this, pf}
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
toEither: Either[Throwable, T]
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
toOption: Option[T]
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
transform[U](s: T => Try[U]^, f: Throwable => Try[U]^): Try[U]^{s, f}
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.
withFilter(p: T => Boolean): WithFilter^{this, p}
scala.util.TrySource: www.scala-lang.org, www.scala-lang.org. JSON record. This entry is a card. Help write this page.