Class/Object

org.davidbild.tristate

Tristate

Related Docs: object Tristate | package tristate

Permalink

sealed abstract class Tristate[+A] extends Product with Serializable

An optional value.

A Tristate[A] will either be a wrapped A instance (Present[A]), an explicit lack of an underlying A instance (Absent), or an implicit lack of an underlying A instance (Unspecified).

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

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    Equals
  2. abstract def productArity: Int

    Permalink
    Definition Classes
    Product
  3. abstract def productElement(n: Int): Any

    Permalink
    Definition Classes
    Product

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. final def cata[B](f: (A) ⇒ B, ifAbsent: ⇒ B, ifUnspecified: ⇒ B): B

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def cobind[B](f: (Tristate[A]) ⇒ B): Tristate[B]

    Permalink
  8. final def cojoin: Tristate[Tristate[A]]

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def exists(f: (A) ⇒ Boolean): Boolean

    Permalink
  12. final def filter(f: (A) ⇒ Boolean): Tristate[A]

    Permalink
  13. final def filterNot(f: (A) ⇒ Boolean): Tristate[A]

    Permalink
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def flatMap[B](f: (A) ⇒ Tristate[B]): Tristate[B]

    Permalink
  16. final def forall(f: (A) ⇒ Boolean): Boolean

    Permalink
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def getOrElse[B >: A](default: ⇒ B): B

    Permalink
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isAbsent: Boolean

    Permalink
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. final def isPresent: Boolean

    Permalink
  23. final def isUnspecified: Boolean

    Permalink
  24. final def map[B](f: (A) ⇒ B): Tristate[B]

    Permalink
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def orElse[B >: A](tsa: Tristate[B]): Tristate[B]

    Permalink
  29. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  30. def productPrefix: String

    Permalink
    Definition Classes
    Product
  31. final def specify[B >: A](default: ⇒ Option[B]): Option[B]

    Permalink

    Discharges this Tristate to an Option using the specified default for the Unspecified case.

    Discharges this Tristate to an Option using the specified default for the Unspecified case. Present(a) goes to Some(a) and Absent goes to None.

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. final def toList: List[A]

    Permalink
  34. final def toOption: Option[A]

    Permalink
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped