Trait/Object

fabric

Null

Related Docs: object Null | package fabric

Permalink

sealed trait Null extends Value

Linear Supertypes
Value, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Null
  2. Value
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type Type

    Permalink
    Definition Classes
    Value

Abstract Value Members

  1. abstract def isEmpty: Boolean

    Permalink
    Definition Classes
    Value
  2. abstract def type: ValueType[Type]

    Permalink

    The type of value

    The type of value

    Definition Classes
    Value

Concrete Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def apply(path: Path): Value

    Permalink

    Looks up a Value based on Path

    Looks up a Value based on Path

    Example: val v = someValue("first" \ "second" \ "third")

    Definition Classes
    Value
  5. final def apply(lookup: String): Value

    Permalink

    Looks up a Value by name in the children.

    Looks up a Value by name in the children.

    Throws an exception if invoked on anything except Obj

    Definition Classes
    Value
  6. def asArr: Arr

    Permalink

    Casts to Arr or throws an exception if not an Arr

    Casts to Arr or throws an exception if not an Arr

    Definition Classes
    Value
  7. def asBigDecimal: BigDecimal

    Permalink

    Convenience method for asNum.value

    Convenience method for asNum.value

    Definition Classes
    Value
  8. def asBool: Bool

    Permalink

    Casts to Bool or throws an exception if not a Bool

    Casts to Bool or throws an exception if not a Bool

    Definition Classes
    Value
  9. def asBoolean: Boolean

    Permalink

    Convenience method for asBool.value

    Convenience method for asBool.value

    Definition Classes
    Value
  10. def asByte: Byte

    Permalink
    Definition Classes
    Value
  11. def asDouble: Double

    Permalink
    Definition Classes
    Value
  12. def asFloat: Float

    Permalink
    Definition Classes
    Value
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def asInt: Int

    Permalink
    Definition Classes
    Value
  15. def asLong: Long

    Permalink
    Definition Classes
    Value
  16. def asMap: Map[String, Value]

    Permalink

    Convenience method for asObj.value

    Convenience method for asObj.value

    Definition Classes
    Value
  17. def asNum: Num

    Permalink

    Casts to Num or throws an exception if not a Num

    Casts to Num or throws an exception if not a Num

    Definition Classes
    Value
  18. def asNumDec: NumDec

    Permalink

    Casts to NumDec or throws an exception if not a NumDec

    Casts to NumDec or throws an exception if not a NumDec

    Definition Classes
    Value
  19. def asNumInt: NumInt

    Permalink

    Casts to NumInt or throws an exception if not a NumInt

    Casts to NumInt or throws an exception if not a NumInt

    Definition Classes
    Value
  20. def asObj: Obj

    Permalink

    Casts to Obj or throws an exception if not an Obj

    Casts to Obj or throws an exception if not an Obj

    Definition Classes
    Value
  21. def asShort: Short

    Permalink
    Definition Classes
    Value
  22. def asStr: Str

    Permalink

    Casts to Str or throws an exception if not a Str

    Casts to Str or throws an exception if not a Str

    Definition Classes
    Value
  23. def asString: String

    Permalink

    Convenience method for asStr.value

    Convenience method for asStr.value

    Definition Classes
    Value
  24. def asValue[V <: Value](type: ValueType[V]): V

    Permalink

    Safely casts this Value as the specified ValueType.

    Safely casts this Value as the specified ValueType. Throws an exception if not a match.

    V

    the return type

    Definition Classes
    Value
  25. def asVector: Vector[Value]

    Permalink

    Convenience method for asArr.value

    Convenience method for asArr.value

    Definition Classes
    Value
  26. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  29. def filter(filter: ValueFilter): Option[Value]

    Permalink

    Applies the filter recursively to this value beginning on the leafs working backward up the tree back to the root.

    Applies the filter recursively to this value beginning on the leafs working backward up the tree back to the root.

    filter

    the filter to apply

    returns

    Option[Value]

    Definition Classes
    Value
  30. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. final def get(path: Path): Option[Value]

    Permalink

    Looks up a Value based on Path

    Looks up a Value based on Path

    Example: val o: Option[Value] = someValue("first" \ "second" \ "third")

    Definition Classes
    Value
  32. final def get(lookup: String): Option[Value]

    Permalink

    Looks up a Value by name in the children.

    Looks up a Value by name in the children.

    Definition Classes
    Value
  33. def getArr: Option[Arr]

    Permalink

    Casts to Arr if it's of Arr type or returns None

    Casts to Arr if it's of Arr type or returns None

    Definition Classes
    Value
  34. def getBigDecimal: Option[BigDecimal]

    Permalink

    Convenience method for getNum.map(_.value)

    Convenience method for getNum.map(_.value)

    Definition Classes
    Value
  35. def getBool: Option[Bool]

    Permalink

    Casts to Bool if it's of Bool type or returns None

    Casts to Bool if it's of Bool type or returns None

    Definition Classes
    Value
  36. def getBoolean: Option[Boolean]

    Permalink

    Convenience method for getBool.map(_.value)

    Convenience method for getBool.map(_.value)

    Definition Classes
    Value
  37. def getByte: Option[Byte]

    Permalink
    Definition Classes
    Value
  38. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  39. def getDouble: Option[Double]

    Permalink
    Definition Classes
    Value
  40. def getFloat: Option[Float]

    Permalink
    Definition Classes
    Value
  41. def getInt: Option[Int]

    Permalink
    Definition Classes
    Value
  42. def getLong: Option[Long]

    Permalink
    Definition Classes
    Value
  43. def getMap: Option[Map[String, Value]]

    Permalink

    Convenience method for getObj.map(_.value)

    Convenience method for getObj.map(_.value)

    Definition Classes
    Value
  44. def getNum: Option[Num]

    Permalink

    Casts to Num if it's of Num type or returns None

    Casts to Num if it's of Num type or returns None

    Definition Classes
    Value
  45. def getObj: Option[Obj]

    Permalink

    Casts to Obj if it's of Obj type or returns None

    Casts to Obj if it's of Obj type or returns None

    Definition Classes
    Value
  46. final def getOrCreate(lookup: String): Value

    Permalink

    Looks up a Value by name in the children or creates a new Obj if it doesn't exist.

    Looks up a Value by name in the children or creates a new Obj if it doesn't exist.

    Definition Classes
    Value
  47. def getShort: Option[Short]

    Permalink
    Definition Classes
    Value
  48. def getStr: Option[Str]

    Permalink

    Casts to Str if it's of Str type or returns None

    Casts to Str if it's of Str type or returns None

    Definition Classes
    Value
  49. def getString: Option[String]

    Permalink

    Convenience method for getStr.map(_.value)

    Convenience method for getStr.map(_.value)

    Definition Classes
    Value
  50. final def getValue[V <: Value](type: ValueType[V]): Option[V]

    Permalink

    Safely casts this Value as the specified ValueType.

    Safely casts this Value as the specified ValueType. Returns None if it's a different type.

    V

    the value type

    returns

    Option[V]

    Definition Classes
    Value
  51. def getVector: Option[Vector[Value]]

    Permalink

    Convenience method for getArr.map(_.value)

    Convenience method for getArr.map(_.value)

    Definition Classes
    Value
  52. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  53. def isArr: Boolean

    Permalink

    True if this is an Arr

    True if this is an Arr

    Definition Classes
    Value
  54. def isBool: Boolean

    Permalink

    True if this is a Bool

    True if this is a Bool

    Definition Classes
    Value
  55. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  56. def isNull: Boolean

    Permalink

    True if this is a Null

    True if this is a Null

    Definition Classes
    Value
  57. def isNum: Boolean

    Permalink

    True if this is a Num

    True if this is a Num

    Definition Classes
    Value
  58. def isNumDec: Boolean

    Permalink
    Definition Classes
    Value
  59. def isNumInt: Boolean

    Permalink
    Definition Classes
    Value
  60. def isObj: Boolean

    Permalink

    True if this is an Obj

    True if this is an Obj

    Definition Classes
    Value
  61. def isStr: Boolean

    Permalink

    True if this is a Str

    True if this is a Str

    Definition Classes
    Value
  62. def merge(value: Value, path: Path = Path.empty, type: MergeType = MergeType.Overwrite): Value

    Permalink

    Merges a Value at the specified path

    Merges a Value at the specified path

    value

    the value to merge

    path

    the path (defaults to Path.empty)

    returns

    root Value after merge

    Definition Classes
    Value
  63. def modify(path: Path)(f: (Value) ⇒ Value): Value

    Permalink

    Modifies the value at the specified path and returns back a new root Value with the modified path.

    Modifies the value at the specified path and returns back a new root Value with the modified path.

    Note: We use the term "modify" here from an immutable standpoint. The original Value will not change.

    path

    the path to modify

    f

    the function that takes the current Value and returns the modified Value

    returns

    new root Value representing the changes

    Definition Classes
    Value
  64. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  65. def nonEmpty: Boolean

    Permalink
    Definition Classes
    Value
  66. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  67. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  68. def remove(path: Path): Value

    Permalink

    Convenience functionality for #modify to remove the value at a specific path.

    Convenience functionality for #modify to remove the value at a specific path.

    path

    the path to remove

    returns

    new root Value representing the changes

    Definition Classes
    Value
  69. def set(path: Path, value: Value): Value

    Permalink

    Convenience functionality for #modify to set a specific value at a path.

    Convenience functionality for #modify to set a specific value at a path.

    path

    the path to replace

    value

    the new value to set

    returns

    new root Value representing the changes

    Definition Classes
    Value
  70. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  71. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  72. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Value

Inherited from AnyRef

Inherited from Any

Ungrouped