LexoInteger class

Constructors

LexoInteger(LexoNumeralSystem system, int sign, List<int> mag)

Properties

hashCode int
The hash code for this object.
no setterinherited
mag List<int>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sign int
getter/setter pair
sys LexoNumeralSystem
getter/setter pair

Methods

add(LexoInteger other) LexoInteger
checkSystem(LexoInteger other) → void
compareTo(LexoInteger other) int
complement() LexoInteger
complementDigits(int digits) LexoInteger
equals(LexoInteger other) bool
format() String
getMag(int index) int
getSystem() LexoNumeralSystem
isOne() bool
isOneish() bool
isZero() bool
multiply(LexoInteger other) LexoInteger
negate() LexoInteger
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shiftLeft([int times = 1]) LexoInteger
shiftRight([int times = 1]) LexoInteger
subtract(LexoInteger other) LexoInteger
toString() String
A string representation of this object.
override

Operators

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

Static Properties

NEGATIVE_SIGN int
getter/setter pair
ONE_MAG List<int>
getter/setter pair
POSITIVE_SIGN int
getter/setter pair
ZERO_MAG List<int>
getter/setter pair
ZERO_SIGN int
getter/setter pair