From 1e914fa27ad344306238eff08ff012a2d7149695 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Tue, 17 Mar 2015 20:45:01 +0100 Subject: Added comment about ordering on exponent --- Week7/src/polynomial/Polynomial.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Week7/src/polynomial/Polynomial.java') diff --git a/Week7/src/polynomial/Polynomial.java b/Week7/src/polynomial/Polynomial.java index 86f060b..f7b1194 100644 --- a/Week7/src/polynomial/Polynomial.java +++ b/Week7/src/polynomial/Polynomial.java @@ -17,7 +17,9 @@ import java.util.Scanner; public class Polynomial { /** - * A polynomial is a sequence of terms here kept in an List + * A polynomial is a sequence of terms here kept in an List. + * The assignment tells us 'it's handy' when terms are ordered by exponent. + * We don't seem to need that though, so there's no need to implement it. */ List terms; -- cgit v1.2.3