A C E G P S T

A

addTerm(Term) - Method in class Polynomial
Add a term to this polynomial.

C

combine(Term) - Method in class Term
Combines this term and the argument term back into this term.
compareTo(Term) - Method in class Term
Imposes "natural ordering" on Term objects.

E

equals(Object) - Method in class Polynomial
Compare this object to the specified object.
equals(Object) - Method in class Term
Compare this object to the specified object.
evaluate(int) - Method in class Polynomial
Evaluates the polynomial for given value of variable x.

G

getCoefficient() - Method in class Term
Fetch coefficient value.
getExponent() - Method in class Term
Fetch exponent value.

P

Polynomial - Class in <Unnamed>
Polynomial is a class to represent polynomials over variable x.
Polynomial() - Constructor for class Polynomial
Constructor for objects of class Polynomial
Polynomial(String) - Constructor for class Polynomial
Constructor with initial polynomial as String.
product(Polynomial, Polynomial) - Static method in class Polynomial
Produces new polynomial which is the product of the two argument polynomials.
product(Term, Term) - Static method in class Term
Returns a new Term formed by the product of two Terms.

S

setCoefficient(int) - Method in class Term
Replace coefficient value with new one.
sum(Polynomial, Polynomial) - Static method in class Polynomial
Produces new polynomial which is the sum of the two argument polynomials.
sum(Term, Term) - Static method in class Term
Returns a new Term formed by the sum of two Terms.

T

Term - Class in <Unnamed>
Class to hold one term of a polynomial over x.
Term(int, int) - Constructor for class Term
Constructor for objects of class Term.
Term(Term) - Constructor for class Term
Constructor for objects of class Term.
toString() - Method in class Polynomial
Produce String representation of a Polynomial.
toString() - Method in class Term
Returns a String representing this term, with fully signed coefficient and using nothing for multiplication and ^ for exponentiation.

A C E G P S T