sealed trait Determine[+A] extends AnyRef
Represents a value that may or may not be determined.
Several Determine value can be combined using Determine!.zip and Determine.reduce.
- A
The type of the wrapped value.
- Alphabetic
- By Inheritance
- Determine
- 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
- 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]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def foreach(f: (A) => Unit): Unit
Applies a function to the value if it is determined.
Applies a function to the value if it is determined.
- f
The function.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getOrElse[B >: A](default: => B): B
Returns the value if it is determined.
Returns the value if it is determined. Otherwise, returns a given default value.
- default
The default value.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[B](f: (A) => B): Determine[B]
Applies a function to the value if it is determined, and returns the result as a CanDetermine.
Applies a function to the value if it is determined, and returns the result as a CanDetermine. Otherwise, returns CannotDetermine
- f
The function.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def orElse[B >: A](default: => Determine[B]): Determine[B]
Returns this Determine if it is determined.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def zip[B](other: Determine[B]): Determine[(A, B)]
Given another value that may be determined, returns a tuple that is determined if and only if both this and the other values are determined.
Given another value that may be determined, returns a tuple that is determined if and only if both this and the other values are determined.
- B
The type of the other possibly determined value.
- other
The other possibly determined value.
- returns
The resulting, possibly determined tuple of the two values.
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)