Class

ujson

Num

Related Doc: package ujson

Permalink

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)

    Permalink

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. def apply(s: Selector): Value

    Permalink
    Definition Classes
    Value
  5. def arr: ArrayBuffer[Value]

    Permalink

    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]]

    Permalink

    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

    Permalink
    Definition Classes
    Any
  8. def bool: Boolean

    Permalink

    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]

    Permalink

    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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def contentLength: Option[Long]

    Permalink
    Definition Classes
    Writable
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def httpContentType: Some[String]

    Permalink
    Definition Classes
    Value → Writable
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isNull: Boolean

    Permalink

    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
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  21. def num: Double

    Permalink

    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
  22. def numOpt: Option[Double]

    Permalink

    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
  23. def obj: LinkedHashMap[String, Value]

    Permalink

    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
  24. def objOpt: Option[LinkedHashMap[String, Value]]

    Permalink

    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
  25. def render(indent: Int = 1, escapeUnicode: Boolean = false): String

    Permalink
    Definition Classes
    Value
  26. def str: String

    Permalink

    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
  27. def strOpt: Option[String]

    Permalink

    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
  28. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Value → AnyRef → Any
  30. def transform[T](f: Visitor[_, T]): T

    Permalink
    Definition Classes
    ValueReadable
  31. def update(s: Selector, f: (Value) ⇒ Value): Unit

    Permalink

    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
  32. def update(s: Selector, v: Value): Unit

    Permalink
    Definition Classes
    Value
  33. val value: Double

    Permalink
    Definition Classes
    NumValue
  34. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def writeBytesTo(out: OutputStream): Unit

    Permalink
    Definition Classes
    Value → Writable
  38. def writeBytesTo(out: OutputStream, indent: Int = 1, escapeUnicode: Boolean = false): Unit

    Permalink
    Definition Classes
    Value

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