Packages

final case class Present[+A](get: A) extends Optional[A] with Product with Serializable

Optional value that is present

A

type of the value

get

the value

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Present
  2. Serializable
  3. Product
  4. Equals
  5. Optional
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Present(get: A)

    get

    the value

Type Members

  1. class WithFilter extends AnyRef
    Definition Classes
    Optional

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def collect[B](pf: PartialFunction[A, B]): Optional[B]
    Definition Classes
    Optional
  7. final def contains[A1 >: A](elem: A1): Boolean
    Definition Classes
    Optional
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. final def exists(p: (A) => Boolean): Boolean
    Definition Classes
    Optional
  10. final def filter(p: (A) => Boolean): Optional[A]
    Definition Classes
    Optional
  11. final def filterNot(p: (A) => Boolean): Optional[A]
    Definition Classes
    Optional
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def flatMap[B](f: (A) => Optional[B]): Optional[B]
    Definition Classes
    Optional
  14. final def flatten[B](implicit ev: <:<[A, Option[B]]): Option[B]
    Definition Classes
    Optional
  15. final def fold[B](ifEmpty: => B)(f: (A) => B): B
    Definition Classes
    Optional
  16. final def forall(p: (A) => Boolean): Boolean
    Definition Classes
    Optional
  17. final def foreach[U](f: (A) => U): Unit
    Definition Classes
    Optional
  18. val get: A
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def getOrElse[A0 >: A](default: => A0): A0
    Definition Classes
    Optional
  21. val isDefined: Boolean
    Definition Classes
    PresentOptional
  22. val isEmpty: Boolean
    Definition Classes
    PresentOptional
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def iterator: Iterator[A]
    Definition Classes
    Optional
  25. final def map[B](f: (A) => B): Optional[B]
    Definition Classes
    Optional
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. val nonEmpty: Boolean
    Definition Classes
    PresentOptional
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def orElse[B >: A](other: Optional[B]): Optional[B]
    Definition Classes
    Optional
  31. def productElementNames: Iterator[String]
    Definition Classes
    Product
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. final def toChunk: Chunk[A]
    Definition Classes
    Optional
  34. final def toLeft[R](right: R): Either[A, R]
    Definition Classes
    Optional
  35. final def toList: List[A]
    Definition Classes
    Optional
  36. final def toOption: Option[A]

    Converts this optional value to standard scala.Option

    Converts this optional value to standard scala.Option

    Definition Classes
    Optional
  37. final def toRight[L](left: L): Either[L, A]
    Definition Classes
    Optional
  38. final def toVector: Vector[A]
    Definition Classes
    Optional
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  42. final def withFilter(p: (A) => Boolean): WithFilter
    Definition Classes
    Optional

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Optional[A]

Inherited from AnyRef

Inherited from Any

Ungrouped