001/* 002 * $Id: QuotPair.java 5204 2015-04-05 10:30:15Z kredel $ 003 */ 004 005package edu.jas.structure; 006 007 008/** 009 * Quotient pair interface. Defines selectors for numerator and denominator. 010 * @param C base element type 011 * @author Heinz Kredel 012 */ 013public interface QuotPair<C extends RingElem<C>> { 014 015 016 /** 017 * Numerator. 018 */ 019 public C numerator(); 020 021 022 /** 023 * Denominator. 024 */ 025 public C denominator(); 026 027 028 /** 029 * Test if element type is constant. 030 */ 031 public boolean isConstant(); 032 033}