|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Monoid
This interface defines a 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 |
---|
Monoid.Member identity()
boolean isIdentity(Monoid.Member g)
g
- a monoid member
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |