001/*
002 * $Id$
003 */
004
005package edu.jas.gbufd;
006
007
008import edu.jas.poly.GenPolynomial;
009import edu.jas.structure.RingElem;
010
011
012/**
013 * Polynomial reduction container. Used as container for the return value of
014 * normalformFactor.
015 * @author Heinz Kredel
016 */
017
018public class PseudoReductionEntry<C extends RingElem<C>> {
019
020
021    public final GenPolynomial<C> pol;
022
023
024    public final C multiplicator;
025
026
027    public PseudoReductionEntry(GenPolynomial<C> pol, C multiplicator) {
028        this.pol = pol;
029        this.multiplicator = multiplicator;
030    }
031
032
033    @Override
034    public String toString() {
035        return " " + multiplicator + " times " + pol;
036    }
037
038}