KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JSci > maths > groups > Semigroup


1 package JSci.maths.groups;
2
3 /**
4 * This interface defines a semigroup.
5 * @jsci.planetmath Semigroup
6 * @version 1.0
7 * @author Mark Hale
8 */

9 public interface Semigroup {
10
11         /**
12         * This interface defines a member of a semigroup.
13         */

14         interface Member extends JSci.maths.Member {
15                 /**
16                 * The semigroup composition law.
17                 * @param g a semigroup member
18                 */

19                 Member compose(Member g);
20         }
21 }
22
23
Popular Tags