Object

com.phasmidsoftware.util

^^

Related Doc: package util

Permalink

object ^^ extends Kleenean

This case object is the None version of Maybe. It is used for the bookends of a dis/conjunctive expression of Maybes. But be careful, you need to understand the rules of Kleenean logic with regard to None combining with true or false.

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

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

    the Option[Boolean] value

    Definition Classes
    Kleenean
  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 Kleenean

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