JSci.maths.groups
Interface Monoid

All Known Subinterfaces:
Group
All Known Implementing Classes:
CyclicGroup, DihedralGroup, FiniteGroup, QuaternionGroup

public interface Monoid

This interface defines a monoid.

PlanetMath references:
Monoid

Nested Class Summary
static interface Monoid.Member
          This interface defines a member of a monoid.
 
Method Summary
 Monoid.Member identity()
          Returns the identity element.
 boolean isIdentity(Monoid.Member g)
          Returns true if the member is the identity element of this monoid.
 

Method Detail

identity

Monoid.Member identity()
Returns the identity element.


isIdentity

boolean isIdentity(Monoid.Member g)
Returns true if the member is the identity element of this monoid.

Parameters:
g - a monoid member