RingFactory.java :  » Algebra » symja » edu » jas » structure » Java Open Source

Java Open Source » Algebra » symja 
symja » edu » jas » structure » RingFactory.java
/*
 * $Id: RingFactory.java 1259 2007-07-29 10:18:54Z kredel $
 */

package edu.jas.structure;


/**
 * Ring factory interface.
 * Defines test for field and access of characteristic.
 * @author Heinz Kredel
 */

public interface RingFactory<C extends RingElem<C>> 
    extends AbelianGroupFactory<C>, MonoidFactory<C> {


    /**
     * Query if this ring is a field.
     * May return false if it is to hard to determine if this ring is a field.
     * @return true if it is known that this ring is a field, else false.
     */
    public boolean isField();


    /**
     * Characteristic of this ring.
     * @return characteristic of this ring.
     */
    public java.math.BigInteger characteristic();

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.