Band< T> mixin
Bands are semigroups whose operation
(i.e. combine
) is also idempotent
(an operation that can be applied multiple times without changing the result beyond the initial application).
- Superclass Constraints
- Semigroup<
T>
- Semigroup<
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
combine(
T x, T y) → T -
Associative operation which combines two values.
inherited
-
combineN(
T a, int n) → T -
Only apply
combine
operation the first time:override -
intercalate(
T middle) → Semigroup< T> -
Return a
Semigroup
which insertsmiddle
between each pair of elements.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reverse(
) → Semigroup< T> -
Return a
Semigroup
that reverses the order.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited