Scala Standard Library 2.13.15 - scala.util.Success (original) (raw)

final case class Success[+T](value: T) extends Try[T] with Product with Serializable

Ordering

  1. Alphabetic
  2. By Inheritance

Inherited

  1. Success
  2. Try
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any

Implicitly

  1. by any2stringadd

  2. by StringFormat

  3. by Ensuring

  4. by ArrowAssoc

  5. Hide All

  6. Show All

Visibility

  1. Public
  2. Protected

Instance Constructors

  1. new Success(value: T)

Value Members

  1. final def !=(arg0: Any): Boolean
  2. final def ##: Int
  3. def +(other: String): String
  4. def ->[B](y: B): (Success[T], B)
  5. final def ==(arg0: Any): Boolean
  6. final def asInstanceOf[T0]: T0
  7. def clone(): AnyRef
  8. def collect[U](pf: PartialFunction[T, U]): Try[U]
  9. def ensuring(cond: (Success[T]) => Boolean, msg: => Any): Success[T]
  10. def ensuring(cond: (Success[T]) => Boolean): Success[T]
  11. def ensuring(cond: Boolean, msg: => Any): Success[T]
  12. def ensuring(cond: Boolean): Success[T]
  13. final def eq(arg0: AnyRef): Boolean
  14. def failed: Try[Throwable]
  15. def filter(p: (T) => Boolean): Try[T]
  16. def finalize(): Unit
  17. def flatMap[U](f: (T) => Try[U]): Try[U]
  18. def flatten[U](implicit ev: <:<[T, Try[U]]): Try[U]
  19. def fold[U](fa: (Throwable) => U, fb: (T) => U): U
  20. def foreach[U](f: (T) => U): Unit
  21. def get: T
  22. final def getClass(): Class[_ <: AnyRef]
  23. def getOrElse[U >: T](default: => U): U
  24. def isFailure: Boolean
  25. final def isInstanceOf[T0]: Boolean
  26. def isSuccess: Boolean
  27. def map[U](f: (T) => U): Try[U]
  28. final def ne(arg0: AnyRef): Boolean
  29. final def notify(): Unit
  30. final def notifyAll(): Unit
  31. def orElse[U >: T](default: => Try[U]): Try[U]
  32. def productElementNames: Iterator[String]
  33. def recover[U >: T](pf: PartialFunction[Throwable, U]): Try[U]
  34. def recoverWith[U >: T](pf: PartialFunction[Throwable, Try[U]]): Try[U]
  35. final def synchronized[T0](arg0: => T0): T0
  36. def toEither: Either[Throwable, T]
  37. def toOption: Option[T]
  38. def transform[U](s: (T) => Try[U], f: (Throwable) => Try[U]): Try[U]
  39. val value: T
  40. final def wait(): Unit
  41. final def wait(arg0: Long, arg1: Int): Unit
  42. final def wait(arg0: Long): Unit
  43. final def withFilter(p: (T) => Boolean): WithFilter

Ungrouped