Package eu.bandm.tools.ops
Interface Monoid<M>
- Type Parameters:
M
- the carrier of the monoid.
- All Superinterfaces:
Semigroup<M>
- All Known Subinterfaces:
GenMonoid<A,
,M> MonoidAction<M,
S>
Extends a semigroup to a monoid by providing a neutral element.
Each dhe implementation must fulfill
combine(m,neutral()) == combine(neutral(),m) == m
for each m from M.-
Method Summary
-
Method Details
-
neutral
M neutral()
-