case object Unknown extends Answer with Product with Serializable
Represents the answer to a question where the answer is either Unknown
or is actually both; that is, Yes
and No
.
- Source
- Answer.scala
- Alphabetic
- By Inheritance
- Unknown
- Serializable
- Product
- Equals
- Answer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def &&(other: Answer): Answer
The logical conjunction of this answer and the given answer.
- final def &&(other: Boolean): Answer
- Definition Classes
- 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 ifUnknown(f: => Answer): Answer
If this answer is unknown the given function is evaluated and that result is returned, otherwise
this
answer is returned. - final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isNo: Boolean
Returns
true
if and only if this answer isNo
. - final def isNoOrUnknown: Boolean
Returns
true
if this answer isNo
orUnknown
,false
otherwise.Returns
true
if this answer isNo
orUnknown
,false
otherwise.- Definition Classes
- Answer
- def isNotNo: Boolean
Returns
true
if this answer isYes
orUnknown
,false
otherwise. - def isNotYes: Boolean
Returns
true
if this answer isNo
orUnknown
,false
otherwise. - def isUnknown: Boolean
Returns
true
if and only if this answer isUnknown
. - def isYes: Boolean
Returns
true
if and only if this answer isYes
. - def isYesOrNo: Boolean
Returns
true
if this answer is eitherYes
orNo
; false if this answer isUnknown
. - final def isYesOrUnknown: Boolean
Returns
true
if this answer isYes
orUnknown
,false
otherwise.Returns
true
if this answer isYes
orUnknown
,false
otherwise.- Definition Classes
- Answer
- def join(other: Answer): Unknown.type
Joins this answer and the given answer.
Joins this answer and the given answer. In this case
Unknown
will represent the case that we have both answers; that is we have a set based view w.r.t.Answer
s. Hence,this join Unknown
is considered asthis join {Yes, No}
where the set{Yes, No}
is represented byUnknown
.If the other
Answer
is identical tothis
answerthis
is returned, otherwiseUnknown
is returned. - final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def negate: Unknown.type
The negation of this
Answer
. - final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def unary_!: Answer
- Definition Classes
- 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])
- def ||(other: Answer): Answer
The logical disjunction of this answer and the given answer.
- final def ||(other: Boolean): Answer
- Definition Classes
- Answer
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated