JSci.maths.groups
Class DihedralGroup.Member

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

 class DihedralGroup.Member
extends java.lang.Object
implements Group.Member


Constructor Summary
DihedralGroup.Member(int theta, boolean flip)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DihedralGroup.Member

public DihedralGroup.Member(int theta,
                            boolean flip)
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

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