Commit Graph

22 Commits

Author SHA1 Message Date
8458e426bc correcting raw types for the item Iterator. 2018-08-29 07:36:52 -04:00
e6f84f2f41 modified return type of TreasureChestItemIterator's constructor to be Iterator 2018-08-28 07:46:02 -04:00
1c2ddfad54 Refactored App.java to remove duplicate code and elegantly demonstrate each implementation of the Iterator interface. Removed the redundant ItemIterator interface. Added insert() method to TreeNode class to allow for more elegant construction of BSTs. 2018-08-25 18:49:43 -04:00
3e0cfa5684 #778 Implemented BSTIterator. Included comprehensive unit and integration tests. Refactored file structure to be friendly to future contributors with iterators of more data structures. Added JUnitPlatform to enable running test suite across all iterator implementations. Added README to /binarysearchtree to document what it does and how it works. 2018-08-04 21:59:53 -04:00
6694d742a3 Migrate to JUnit5 2017-12-31 16:29:48 +09:00
faa29f8025 Update license headers 2016-11-27 14:34:20 +02:00
0438811489 #502 Replaced usages of System.out with logger. 2016-10-23 19:59:03 +02:00
e4c34b1e22 squid:S1319 - Declarations should use Java collection interfaces such as List rather than specific implementation classes such as LinkedList 2016-02-23 12:32:23 +02:00
50310aaeaf squid:S1699 - Constructors should only call non-overridable methods 2016-02-19 11:02:49 +02:00
3d95696078 #358 Added license to all files using plugin 2016-01-27 22:20:42 +00:00
5f033be54f Fix PMD violations #327 2015-12-27 21:21:57 +02:00
cec9a99410 Adjust checkstyle rules. Make checkstyle fail the build when violations are found. Correct all current checkstyle violations. 2015-12-25 23:49:28 +02:00
25cacdbbc9 Added tests for iterator pattern 2015-12-14 15:14:48 +01:00
306b1f3d31 Reformat rest of the design patterns - Issue #224 2015-11-01 21:29:13 -05:00
e4ff39e080 Improve Iterator Javadoc 2015-10-03 21:37:29 +03:00
0d2e033df6 #107 Iterator example JavaDoc 2015-08-18 23:14:04 +03:00
8524c75ba6 Changed package naming across all examples. 2015-05-31 11:55:18 +03:00
6301e0bc11 Added unit tests for each of the patterns. 2014-12-06 20:34:41 +02:00
3da9ad5469 Formatted all files to the same standard 2014-10-08 13:42:12 +01:00
bde5b343d0 Just formatting App classes to be like the other class files on the project 2014-10-07 16:23:37 +01:00
40e5444718 Added comments for iterator example. 2014-08-31 11:03:43 +03:00
91ed79e6bd added iterator sample 2014-08-18 23:18:15 +03:00