Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Passed test 1: add and contains methods SortedSet
- Passed test 2: remove method UnsortedSet
- Passed test 3: size method UnsortedSet
- Passed test 4: containsAll method UnsortedSet
- Passed test 5: containsAll method UnsortedSet
- Passed test 6: difference and equals methods UnsortedSet
- Passed test 7: union and equals methods UnsortedSet
- Passed test 8: intersection and equals methods UnsortedSet
- Passed test 9: add and contains methods SortedSet
- Passed test 10: remove and contains methods SortedSet
- Passed test 11: size method SortedSet
- Passed test 12: containsAll method SortedSet
- Passed test 13: containsAll method SortedSet
- Passed test 14: difference and equals methods SortedSet
- Passed test 14.1: difference and equals methods SortedSet
- Passed test 15: union and equals methods SortedSet
- Passed test 16: intersection and equals methods SortedSet
- Passed test 17: iterator and add methods SortedSet
- Passed test 18: equals methods UnsortedSet
- Passed test 19: equals methods UnsortedSet
- Passed test 20: equals methods UnsortedSet
- Passed test 21: equals methods UnsortedSet
- Passed test 22: equals methods SortedSet - different types
- Passed test 23: equals methods SortedSet - different types
- Opening Window to select file. You may have to minimize other windows.
- ***** CS314 SortedSet: *****
- Time to add the elements in the text to this set: elapsed time: 0.048405789 seconds.
- Total number of words in text including duplicates: 5639
- Number of distinct words in this text 1977
- Enter y to see the contents of this set: n
- ****** CS314 UnsortedSet: *****
- Time to add the elements in the text to this set: elapsed time: 0.079752867 seconds.
- Total number of words in text including duplicates: 5639
- Number of distinct words in this text 1977
- Enter y to see the contents of this set: n
- ***** Java HashSet ******
- Time to add the elements in the text to this set: elapsed time: 0.030373308 seconds.
- Total number of words in text including duplicates: 5639
- Number of distinct words in this text 1977
- Enter y to see the contents of this set: n
- ***** Java TreeSet ******
- Time to add the elements in the text to this set: elapsed time: 0.015511458 seconds.
- Total number of words in text including duplicates: 5639
- Number of distinct words in this text 1977
- Enter y to see the contents of this set: n
- Another file? Enter y to do another file: y
- Opening Window to select file. You may have to minimize other windows.
- ***** CS314 SortedSet: *****
- Time to add the elements in the text to this set: elapsed time: 0.412866244 seconds.
- Total number of words in text including duplicates: 215830
- Number of distinct words in this text 33585
- Enter y to see the contents of this set: n
- ****** CS314 UnsortedSet: *****
- Time to add the elements in the text to this set: elapsed time: 9.080561562 seconds.
- Total number of words in text including duplicates: 215830
- Number of distinct words in this text 33585
- Enter y to see the contents of this set: n
- ***** Java HashSet ******
- Time to add the elements in the text to this set: elapsed time: 0.239021253 seconds.
- Total number of words in text including duplicates: 215830
- Number of distinct words in this text 33585
- Enter y to see the contents of this set: n
- ***** Java TreeSet ******
- Time to add the elements in the text to this set: elapsed time: 0.279519282 seconds.
- Total number of words in text including duplicates: 215830
- Number of distinct words in this text 33585
- Enter y to see the contents of this set: n
- Another file? Enter y to do another file: y
- Opening Window to select file. You may have to minimize other windows.
- ***** CS314 SortedSet: *****
- Time to add the elements in the text to this set: elapsed time: 0.220946006 seconds.
- Total number of words in text including duplicates: 78098
- Number of distinct words in this text 12204
- Enter y to see the contents of this set: n
- ****** CS314 UnsortedSet: *****
- Time to add the elements in the text to this set: elapsed time: 1.323602339 seconds.
- Total number of words in text including duplicates: 78098
- Number of distinct words in this text 12204
- Enter y to see the contents of this set: n
- ***** Java HashSet ******
- Time to add the elements in the text to this set: elapsed time: 0.060330936 seconds.
- Total number of words in text including duplicates: 78098
- Number of distinct words in this text 12204
- Enter y to see the contents of this set: n
- ***** Java TreeSet ******
- Time to add the elements in the text to this set: elapsed time: 0.076569835 seconds.
- Total number of words in text including duplicates: 78098
- Number of distinct words in this text 12204
- Enter y to see the contents of this set: n
- Another file? Enter y to do another file: y
- Opening Window to select file. You may have to minimize other windows.
- ***** CS314 SortedSet: *****
- Time to add the elements in the text to this set: elapsed time: 0.207860632 seconds.
- Total number of words in text including duplicates: 124592
- Number of distinct words in this text 13639
- Enter y to see the contents of this set: n
- ****** CS314 UnsortedSet: *****
- Time to add the elements in the text to this set: elapsed time: 1.646790282 seconds.
- Total number of words in text including duplicates: 124592
- Number of distinct words in this text 13639
- Enter y to see the contents of this set: n
- ***** Java HashSet ******
- Time to add the elements in the text to this set: elapsed time: 0.112621112 seconds.
- Total number of words in text including duplicates: 124592
- Number of distinct words in this text 13639
- Enter y to see the contents of this set: n
- ***** Java TreeSet ******
- Time to add the elements in the text to this set: elapsed time: 0.128499924 seconds.
- Total number of words in text including duplicates: 124592
- Number of distinct words in this text 13639
- Enter y to see the contents of this set: n
- Another file? Enter y to do another file: y
- Opening Window to select file. You may have to minimize other windows.
- ***** CS314 SortedSet: *****
- Time to add the elements in the text to this set: elapsed time: 1.099634099 seconds.
- Total number of words in text including duplicates: 824146
- Number of distinct words in this text 34057
- Enter y to see the contents of this set: n
- ****** CS314 UnsortedSet: *****
- Time to add the elements in the text to this set: elapsed time: 30.433938921 seconds.
- Total number of words in text including duplicates: 824146
- Number of distinct words in this text 34057
- Enter y to see the contents of this set: n
- ***** Java HashSet ******
- Time to add the elements in the text to this set: elapsed time: 0.569648673 seconds.
- Total number of words in text including duplicates: 824146
- Number of distinct words in this text 34057
- Enter y to see the contents of this set: n
- ***** Java TreeSet ******
- Time to add the elements in the text to this set: elapsed time: 0.686049824 seconds.
- Total number of words in text including duplicates: 824146
- Number of distinct words in this text 34057
- Enter y to see the contents of this set: n
- Another file? Enter y to do another file: n
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement