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
- Alphabetic
- By Inheritance
Inherited
- Present
- Serializable
- Product
- Equals
- Optional
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Present(get: A)
- get
the value
Type Members
- class WithFilter extends AnyRef
- Definition Classes
- Optional
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def collect[B](pf: PartialFunction[A, B]): Optional[B]
- Definition Classes
- Optional
- final def contains[A1 >: A](elem: A1): Boolean
- Definition Classes
- Optional
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def exists(p: (A) => Boolean): Boolean
- Definition Classes
- Optional
- final def filter(p: (A) => Boolean): Optional[A]
- Definition Classes
- Optional
- final def filterNot(p: (A) => Boolean): Optional[A]
- Definition Classes
- Optional
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def flatMap[B](f: (A) => Optional[B]): Optional[B]
- Definition Classes
- Optional
- final def flatten[B](implicit ev: <:<[A, Option[B]]): Option[B]
- Definition Classes
- Optional
- final def fold[B](ifEmpty: => B)(f: (A) => B): B
- Definition Classes
- Optional
- final def forall(p: (A) => Boolean): Boolean
- Definition Classes
- Optional
- final def foreach[U](f: (A) => U): Unit
- Definition Classes
- Optional
- val get: A
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def getOrElse[A0 >: A](default: => A0): A0
- Definition Classes
- Optional
- val isDefined: Boolean
- val isEmpty: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def iterator: Iterator[A]
- Definition Classes
- Optional
- final def map[B](f: (A) => B): Optional[B]
- Definition Classes
- Optional
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nonEmpty: Boolean
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def orElse[B >: A](other: Optional[B]): Optional[B]
- Definition Classes
- Optional
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toChunk: Chunk[A]
- Definition Classes
- Optional
- final def toLeft[R](right: R): Either[A, R]
- Definition Classes
- Optional
- final def toList: List[A]
- Definition Classes
- Optional
- final def toOption: Option[A]
Converts this optional value to standard scala.Option
Converts this optional value to standard scala.Option
- Definition Classes
- Optional
- final def toRight[L](left: L): Either[L, A]
- Definition Classes
- Optional
- final def toVector: Vector[A]
- Definition Classes
- Optional
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def withFilter(p: (A) => Boolean): WithFilter
- Definition Classes
- Optional