class CLNumber : CLElement


Summary

Public constructors

CLNumber(content: CharArray!)
CLNumber(value: Float)

Public functions

java-static CLElement!
allocate(content: CharArray!)
Boolean
equals(obj: Any!)
Float
Int
Int
Boolean
Unit
putValue(value: Float)

Protected functions

String!
toFormattedJSON(indent: Int, forceIndent: Int)
String!

Inherited functions

From androidx.constraintlayout.core.parser.CLElement
Unit
addIndent(builder: StringBuilder!, indent: Int)
CLElement
String!
CLElement!
String!
Long

The character index this element was ended on

Int

get the line Number

Long

The character index this element was started on

String!
Boolean

Whether this element has any valid content defined.

Boolean
Boolean
Boolean
Unit
Unit
setEnd(end: Long)
Unit
setLine(line: Int)
Unit
setStart(start: Long)
String!

Public constructors

CLNumber

Added in 1.1.0
CLNumber(content: CharArray!)

CLNumber

Added in 1.1.0
CLNumber(value: Float)

Public functions

allocate

Added in 1.1.0
java-static fun allocate(content: CharArray!): CLElement!

equals

fun equals(obj: Any!): Boolean

getFloat

fun getFloat(): Float

getInt

fun getInt(): Int

hashCode

fun hashCode(): Int

isInt

Added in 1.1.0
fun isInt(): Boolean

putValue

Added in 1.1.0
fun putValue(value: Float): Unit

Protected functions

toFormattedJSON

protected fun toFormattedJSON(indent: Int, forceIndent: Int): String!

toJSON

protected fun toJSON(): String!