ModuloEquality<T> class

Inheritance

Constructors

ModuloEquality(DataType<T> type, T modulus)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
modulus → T
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type DataType<T>
final

Methods

hash(T a) int
Return the hash code of a.
override
isClose(T a, T b, double epsilon) bool
Returns true, if a and b are within range of epsilon.
override
isEqual(T a, T b) bool
Returns true, if a and b are the same.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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