JNumber class

Inheritance
Implementers
Available extensions

Constructors

JNumber()
JNumber.fromReference(JReference reference)

Properties

$type JObjType<JNumber>
latefinal
hashCode int
The hash code for this object.
no setterinherited
isNull bool
no setterinherited
isReleased bool
no setterinherited
jClass JClass
Returns JClass corresponding to concrete class of this object.
no setterinherited
reference JReference
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

byteValue({bool releaseOriginal = false}) int
castTo<T extends JObject>(JObjType<T> type, {bool releaseOriginal = false}) → T
Casts this object to another type.
inherited
doubleValue({bool releaseOriginal = false}) double
floatValue({bool releaseOriginal = false}) double
intValue({bool releaseOriginal = false}) int
longValue({bool releaseOriginal = false}) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release() → void
Releases the underlying reference.
inherited
releasedBy(Arena arena) → void
Registers this object to be released at the end of arena's lifetime.
inherited
shortValue({bool releaseOriginal = false}) int
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

type → const JNumberType
The type which includes information such as the signature of this class.