c

ujson

Num

case class Num(value: Double) extends Value with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Value, Writable, Readable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Num
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Value
  7. Writable
  8. Readable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Num(value: Double)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(s: Selector): Value
    Definition Classes
    Value
  5. def arr: ArrayBuffer[Value]

    Returns the elements of this Value, fails if it is not a ujson.Arr

    Returns the elements of this Value, fails if it is not a ujson.Arr

    Definition Classes
    Value
  6. def arrOpt: Option[ArrayBuffer[Value]]

    Returns The optional elements of this Value in case this Value is a 'Arr'.

    Returns The optional elements of this Value in case this Value is a 'Arr'.

    Definition Classes
    Value
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def bool: Boolean

    Returns the Boolean value of this Value, fails if it is not a ujson.Bool

    Returns the Boolean value of this Value, fails if it is not a ujson.Bool

    Definition Classes
    Value
  9. def boolOpt: Option[Boolean]

    Returns an Optional Boolean value of this Value in case this Value is a 'Bool'.

    Returns an Optional Boolean value of this Value in case this Value is a 'Bool'.

    Definition Classes
    Value
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def isNull: Boolean

    Returns true if the value of this Value is ujson.Null, false otherwise

    Returns true if the value of this Value is ujson.Null, false otherwise

    Definition Classes
    Value
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def num: Double

    Returns the Double value of this Value, fails if it is not a ujson.Num

    Returns the Double value of this Value, fails if it is not a ujson.Num

    Definition Classes
    Value
  19. def numOpt: Option[Double]

    Returns an Option[Double] in case this Value is a 'Num'.

    Returns an Option[Double] in case this Value is a 'Num'.

    Definition Classes
    Value
  20. def obj: LinkedHashMap[String, Value]

    Returns the key/value map of this Value, fails if it is not a ujson.Obj

    Returns the key/value map of this Value, fails if it is not a ujson.Obj

    Definition Classes
    Value
  21. def objOpt: Option[LinkedHashMap[String, Value]]

    Returns an Optional key/value map of this Value in case this Value is a 'Obj'.

    Returns an Optional key/value map of this Value in case this Value is a 'Obj'.

    Definition Classes
    Value
  22. def render(indent: Int = -1, escapeUnicode: Boolean = false): String
    Definition Classes
    Value
  23. def str: String

    Returns the String value of this Value, fails if it is not a ujson.Str

    Returns the String value of this Value, fails if it is not a ujson.Str

    Definition Classes
    Value
  24. def strOpt: Option[String]

    Returns an Optional String value of this Value in case this Value is a 'String'.

    Returns an Optional String value of this Value in case this Value is a 'String'.

    Definition Classes
    Value
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    Value → AnyRef → Any
  27. def transform[T](f: Visitor[_, T]): T
    Definition Classes
    ValueReadable
  28. def update(s: Selector, f: (Value) ⇒ Value): Unit

    Update a value in-place.

    Update a value in-place. Takes an Int or a String, through the implicitly-constructe Value.Selector type.

    We cannot just overload update on s: Int and s: String because of type inference problems in Scala 2.11.

    Definition Classes
    Value
  29. def update(s: Selector, v: Value): Unit
    Definition Classes
    Value
  30. val value: Double
    Definition Classes
    NumValue
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def writeBytesTo(out: OutputStream): Unit
    Definition Classes
    Value → Writable
  35. def writeBytesTo(out: OutputStream, indent: Int = -1, escapeUnicode: Boolean = false): Unit
    Definition Classes
    Value

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Value

Inherited from Writable

Inherited from Readable

Inherited from AnyRef

Inherited from Any

Ungrouped