JSci.maths.groups
Class CyclicGroup.Member

java.lang.Object
  extended by JSci.maths.groups.CyclicGroup.Member
All Implemented Interfaces:
java.io.Serializable, AbelianGroup.Member, Group.Member, Monoid.Member, Semigroup.Member, Member
Enclosing class:
CyclicGroup

 class CyclicGroup.Member
extends java.lang.Object
implements AbelianGroup.Member, Group.Member


Constructor Summary
CyclicGroup.Member(int x)
           
 
Method Summary
 AbelianGroup.Member add(AbelianGroup.Member g)
          The group composition law.
 Semigroup.Member compose(Semigroup.Member g)
          The group composition law.
 boolean equals(java.lang.Object o)
          Returns true if this member is equal to another.
 java.lang.Object getSet()
           
 int hashCode()
           
 Group.Member inverse()
          Returns the inverse member.
 AbelianGroup.Member negate()
          Returns the inverse member.
 AbelianGroup.Member subtract(AbelianGroup.Member g)
          The group composition law with inverse.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CyclicGroup.Member

public CyclicGroup.Member(int x)
Method Detail

equals

public boolean equals(java.lang.Object o)
Returns true if this member is equal to another.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getSet

public java.lang.Object getSet()
Specified by:
getSet in interface Member

add

public AbelianGroup.Member add(AbelianGroup.Member g)
The group composition law.

Specified by:
add in interface AbelianGroup.Member
Parameters:
g - a group member

negate

public AbelianGroup.Member negate()
Returns the inverse member.

Specified by:
negate in interface AbelianGroup.Member

subtract

public AbelianGroup.Member subtract(AbelianGroup.Member g)
The group composition law with inverse.

Specified by:
subtract in interface AbelianGroup.Member
Parameters:
g - a group member

compose

public Semigroup.Member compose(Semigroup.Member g)
The group composition law.

Specified by:
compose in interface Semigroup.Member
Parameters:
g - a group member

inverse

public Group.Member inverse()
Returns the inverse member.

Specified by:
inverse in interface Group.Member