Crude class final
Used when there's a "measured" number but the uncertainty is unknown.
- Implemented types
-
- Measurement
- Comparable<
NumericalValue>
Constructors
- Crude(Arithmetic delegate)
-
const
Properties
- delegate → Arithmetic
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
added(
num n) → Measurement -
compareTo(
NumericalValue other) → int -
Compares this object to another object.
override
-
divided(
num n) → Measurement -
fromNum(
num n) → Crude -
multiplied(
num n) → Measurement -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subtracted(
num n) → Measurement -
toNum(
) → num -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator *(
Measurement o) → Measurement -
operator +(
Measurement o) → Measurement -
operator -(
Measurement o) → Measurement -
operator /(
Measurement o) → Measurement -
operator <(
NumericalValue o) → bool -
operator <=(
NumericalValue o) → bool -
operator ==(
Object other) → bool -
The equality operator.
override
-
operator >(
NumericalValue o) → bool -
operator >=(
NumericalValue o) → bool