Interface AdditiveMonoid<T>

All Superinterfaces:
AdditiveGroupoid<T>, AdditiveSemigroup<T>
All Known Subinterfaces:
AdditiveAbelianGroup<T>, AdditiveGroup<T>, CommutativeRing<T>, DivisionRing<T>, Field<T>, Ring<T>

public interface AdditiveMonoid<T> extends AdditiveSemigroup<T>
An algebraic structure with an associative binary operation (implied by semigroup properties) and an identity element. Formally speaking for all a in T, add(a, zero()) = add(zero(), a) = a must hold.