Package org.midheaven.math
Interface AdditionMonoid<T extends AdditionMonoid<T>>
- Type Parameters:
T- the type of element in the Monoid
- All Known Subinterfaces:
AdditionGroup<T>,Field<T>,Int,Rational
- All Known Implementing Classes:
Angle
public interface AdditionMonoid<T extends AdditionMonoid<T>>
Defines the contract for Addition Monoid.
-
Method Summary
-
Method Details
-
isZero
boolean isZero()Checks whether is Zero.- Returns:
- the result of isZero
-
plus
-