final class Nullable[+T] extends AnyVal

Allocation free alternative to scala.Option with similar interface. Using this in recognizers allows: 1) to avoid allocation of Some(x) 2) reading random memory location (where Some is stored) to access x

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Nullable
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Nullable(x: T)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. final def get: T
    Annotations
    @inline()
  6. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  7. final def getOrElse[B >: T](default: ⇒ B): B
    Annotations
    @inline()
  8. final def isDefined: Boolean
    Annotations
    @inline()
  9. final def isEmpty: Boolean
    Annotations
    @inline()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def toList: List[T]
    Annotations
    @inline()
  12. final def toOption: Option[T]
    Annotations
    @inline()
  13. def toString(): String
    Definition Classes
    Any
  14. val x: T

Inherited from AnyVal

Inherited from Any

Ungrouped