diff options
author | Camil Staps | 2015-03-17 20:45:01 +0100 |
---|---|---|
committer | Camil Staps | 2015-03-17 20:45:01 +0100 |
commit | 1e914fa27ad344306238eff08ff012a2d7149695 (patch) | |
tree | 6fe0f9d737682b0f79198716daf2ad20050af048 /Week7/src/polynomial | |
parent | Added more advanced tests (diff) |
Added comment about ordering on exponent
Diffstat (limited to 'Week7/src/polynomial')
-rw-r--r-- | Week7/src/polynomial/Polynomial.java | 4 |
1 files changed, 3 insertions, 1 deletions
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<Term> terms; |