Class/Object

com.phasmidsoftware.util

Kleenean

Related Docs: object Kleenean | package util

Permalink

case class Kleenean(value: Option[Boolean]) extends Maybe with Product with Serializable

This is the Kleenean case class which extends Maybe

value

the Option[Boolean] value

Linear Supertypes
Serializable, Serializable, Product, Equals, Maybe, () ⇒ Option[Boolean], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Kleenean
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Maybe
  7. Function0
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Kleenean(value: Option[Boolean])

    Permalink

    value

    the Option[Boolean] value

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def &&:(x: Option[Boolean]): Kleenean

    Permalink

    Right-associative conjunctive operator with an Option[Boolean]

    Right-associative conjunctive operator with an Option[Boolean]

    x

    other Maybe value

    returns

    a Maybe value with is the Kleenean logical AND of this and x

    Definition Classes
    Maybe
  4. def &:(b: Boolean): Kleenean

    Permalink

    Right-associative conjunctive operator with a Boolean

    Right-associative conjunctive operator with a Boolean

    b

    other Maybe value

    returns

    a Maybe value with is the Kleenean logical AND of this and b

    Definition Classes
    Maybe
  5. def :&(b: Boolean): Kleenean

    Permalink

    Left-associative conjunctive operator with a Boolean

    Left-associative conjunctive operator with a Boolean

    b

    other Boolean value

    returns

    a Maybe value with is the Kleenean logical AND of this and b

    Definition Classes
    Maybe
  6. def :&&(m: ⇒ Maybe): Kleenean

    Permalink

    Left-associative conjunctive operator with another Maybe

    Left-associative conjunctive operator with another Maybe

    m

    other Maybe value

    returns

    a Maybe value with is the Kleenean logical AND of this and m

    Definition Classes
    Maybe
  7. def :|(b: Boolean): Kleenean

    Permalink

    Left-associative disjunctive operator with a Boolean

    Left-associative disjunctive operator with a Boolean

    b

    other Maybe value

    returns

    a Maybe value with is the Kleenean logical OR of this and b

    Definition Classes
    Maybe
  8. def :||(m: ⇒ Maybe): Kleenean

    Permalink

    Left-associative disjunctive operator with another Maybe

    Left-associative disjunctive operator with another Maybe

    m

    other Maybe value

    returns

    a Maybe value with is the Kleenean logical OR of this and m

    Definition Classes
    Maybe
  9. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def apply(): Option[Boolean]

    Permalink
    Definition Classes
    Kleenean → Function0
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def deny: Kleenean

    Permalink

    Method to deny (invert, negate, ...) this Maybe

    Method to deny (invert, negate, ...) this Maybe

    TEST this method

    returns

    Some(!x) if exists, else return None

    Definition Classes
    Maybe
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toBoolean(default: ⇒ Boolean): Boolean

    Permalink

    Method to convert this Maybe into a Boolean

    Method to convert this Maybe into a Boolean

    default

    the value to use if this is None

    returns

    a Boolean corresponding to either the existing Boolean or else the given default.

    Definition Classes
    Maybe
  23. def toInt: Int

    Permalink

    Method to convert this Maybe into an integer corresponding to the return value of compareTo

    Method to convert this Maybe into an integer corresponding to the return value of compareTo

    TEST this method

    returns

    either 1 (true), 0 (maybe), or -1 (false)

    Definition Classes
    Maybe
  24. def toString(): String

    Permalink
    Definition Classes
    Maybe → Function0 → AnyRef → Any
  25. val value: Option[Boolean]

    Permalink

    the Option[Boolean] value

  26. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def |:(b: Boolean): Kleenean

    Permalink

    Right-associative disjunctive operator with a Boolean

    Right-associative disjunctive operator with a Boolean

    b

    other Maybe value

    returns

    a Maybe value with is the Kleenean logical OR of this and b

    Definition Classes
    Maybe
  30. def ||:(x: Option[Boolean]): Kleenean

    Permalink

    Right-associative disjunctive operator with an Option[Boolean]

    Right-associative disjunctive operator with an Option[Boolean]

    x

    other Maybe value

    returns

    a Maybe value with is the Kleenean logical OR of this and x

    Definition Classes
    Maybe

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Maybe

Inherited from () ⇒ Option[Boolean]

Inherited from AnyRef

Inherited from Any

Ungrouped