public interface Monoid
Modifier and Type | Interface and Description |
---|---|
static interface |
Monoid.Member
This interface defines a member of a monoid.
|
Modifier and Type | Method and Description |
---|---|
Monoid.Member |
identity()
Returns the identity element.
|
boolean |
isIdentity(Monoid.Member g)
Returns true if the member is the identity element of this monoid.
|
Monoid.Member identity()
boolean isIdentity(Monoid.Member g)
g
- a monoid member