JSci.maths.groups
Interface Monoid

All Known Subinterfaces:
Group
All Known Implementing Classes:
FiniteGroup

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

public Monoid.Member identity()
Returns the identity element.


isIdentity

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

Parameters:
g - a monoid member