|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AbelianGroup
This interface defines an abelian group.
Nested Class Summary | |
---|---|
static interface |
AbelianGroup.Member
This interface defines a member of an abelian group. |
Method Summary | |
---|---|
boolean |
isNegative(AbelianGroup.Member a,
AbelianGroup.Member b)
Returns true if one member is the negative of the other. |
boolean |
isZero(AbelianGroup.Member g)
Returns true if the member is the identity element of this group. |
AbelianGroup.Member |
zero()
Returns the identity element. |
Method Detail |
---|
AbelianGroup.Member zero()
boolean isZero(AbelianGroup.Member g)
g
- a group memberboolean isNegative(AbelianGroup.Member a, AbelianGroup.Member b)
a
- a group memberb
- a group member
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |