sealed trait Answer extends AnyRef
- Alphabetic
- By Inheritance
- Answer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def &&(other: Answer): Answer
The logical conjunction of this answer and the given answer.
The logical conjunction of this answer and the given answer. In this case Unknown is considered to either represent the answer Yes or No; hence,
this && otheris treated asthis && (Yes || No). - abstract def ifUnknown(f: => Answer): Answer
If this answer is unknown the given function is evaluated and that result is returned, otherwise
thisanswer is returned. - abstract def isNo: Boolean
Returns
trueif and only if this answer isNo.Returns
trueif and only if this answer isNo.Effectively the same as a comparison with No.
- abstract def isNotNo: Boolean
Returns
trueif this answer isYesorUnknown,falseotherwise. - abstract def isNotYes: Boolean
Returns
trueif this answer isNoorUnknown,falseotherwise. - abstract def isUnknown: Boolean
Returns
trueif and only if this answer isUnknown.Returns
trueif and only if this answer isUnknown.Effectively the same as a comparison with Unknown.
- abstract def isYes: Boolean
Returns
trueif and only if this answer isYes.Returns
trueif and only if this answer isYes.Effectively the same as a comparison with Yes.
- abstract def isYesOrNo: Boolean
Returns
trueif this answer is eitherYesorNo; false if this answer isUnknown. - abstract def join(other: Answer): Answer
Joins this answer and the given answer.
Joins this answer and the given answer. In this case
Unknownwill represent the case that we have both answers; that is we have a set based view w.r.t.Answers. Hence,this join Unknownis considered asthis join {Yes, No}where the set{Yes, No}is represented byUnknown.If the other
Answeris identical tothisanswerthisis returned, otherwiseUnknownis returned. - abstract def negate: Answer
The negation of this
Answer.The negation of this
Answer. If the answer isUnknownthe negation is stillUnknown. - abstract def ||(other: Answer): Answer
The logical disjunction of this answer and the given answer.
The logical disjunction of this answer and the given answer. In this case Unknown is considered to either represent the answer Yes or No; hence,
this || otheris treated asthis || (Yes || No).
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def &&(other: Boolean): Answer
- 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() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def isNoOrUnknown: Boolean
Returns
trueif this answer isNoorUnknown,falseotherwise. - final def isYesOrUnknown: Boolean
Returns
trueif this answer isYesorUnknown,falseotherwise. - final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def unary_!: Answer
- See also
- 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])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def ||(other: Boolean): Answer
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
- Deprecated