aboutsummaryrefslogtreecommitdiff
path: root/Week7/src/polynomial/Polynomial.java
diff options
context:
space:
mode:
authorCamil Staps2015-03-17 20:45:01 +0100
committerCamil Staps2015-03-17 20:45:01 +0100
commit1e914fa27ad344306238eff08ff012a2d7149695 (patch)
tree6fe0f9d737682b0f79198716daf2ad20050af048 /Week7/src/polynomial/Polynomial.java
parentAdded more advanced tests (diff)
Added comment about ordering on exponent
Diffstat (limited to 'Week7/src/polynomial/Polynomial.java')
-rw-r--r--Week7/src/polynomial/Polynomial.java4
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;