1 /* @author rich 2 * Created on 05-Mar-2004 3 * 4 * This code is covered by a Creative Commons 5 * Attribution, Non Commercial, Share Alike license 6 * <a HREF="http://creativecommons.org/licenses/by-nc-sa/1.0">License</a> 7 */ 8 package org.lsmp.djep.groupJep.interfaces; 9 10 /** 11 * Defines the operations on a ring, i.e. an abelian group 12 * under + with a closed * operator and * distributitive over +. 13 * 14 * @author Rich Morris 15 * Created on 05-Mar-2004 16 */ 17 public interface RingI extends AbelianGroupI { 18 /** Returns the product of two numbers, a*b */ 19 public Number mul(Number a,Number b); 20 /** Get multiplicative identity i.e. 1. 21 * Strictly speaking a ring need not have a mul indentity. 22 * However most useful ones do, and they are not 23 * all integral domains. */ 24 public Number getONE(); 25 26 } 27