Integer class

Constructors

Integer.new(int value)
Integer.fromBool(bool x)
factory
Integer.fromDouble(double x)
factory
Integer.fromInt(int x)
factory
Integer.fromString(String s)
Integer.fromStringExplicit(String x)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
isFalse bool
no setter
isTrue bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
getter/setter pair

Methods

multiplyByDouble(double b) Integer
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
not() Integer
Functions the same as Second Life, where if positive, returns false, if 0/false, then return true.
toBool() bool
toInt() int
toString() String
A string representation of this object.
override
toStringExplicit() String

Operators

operator %(Integer b) Integer
operator &(Integer y) Integer
operator *(Integer b) Integer
operator +(Integer b) Integer
operator -(Integer b) Integer
operator <<(int b) Integer
operator ==(Object other) bool
The equality operator.
override
operator >>(int b) Integer
operator ^(Integer b) Integer
operator |(Integer y) Integer
operator ~() Integer

Static Properties

FALSE Integer
final
TRUE Integer
final

Static Methods

compare(Integer a, Integer b) int