Class/Object

scalan

Nullable

Related Docs: object Nullable | package scalan

Permalink

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)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. final def get: T

    Permalink
    Annotations
    @inline()
  6. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  7. final def getOrElse[B >: T](default: ⇒ B): B

    Permalink
    Annotations
    @inline()
  8. final def isDefined: Boolean

    Permalink
    Annotations
    @inline()
  9. final def isEmpty: Boolean

    Permalink
    Annotations
    @inline()
  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. final def toList: List[T]

    Permalink
    Annotations
    @inline()
  12. final def toOption: Option[T]

    Permalink
    Annotations
    @inline()
  13. def toString(): String

    Permalink
    Definition Classes
    Any
  14. val x: T

    Permalink

Inherited from AnyVal

Inherited from Any

Ungrouped