2.8. Exercises
We haven't introduced any new technologies yet, so there aren't any exercises that are relevant to the book's subject matter that I can suggest at this point. However, if you're interested in using the example application to actually track results, then there are a number of enhancements that could improve the usefulness of the package.
2.1 Three-way comparisons: The NFL rules provide different tiebreaker rules for cases where three or more teams are tied at any point during the tiebreaker procedure. Our package ignores this in favor of being able to leverage the Comparator capability provided by Java, which supports only two-way comparisons. Update the package to properly handle three-way ties.
2.2 Forward-looking clinch/elimination ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access