Advertisement
Guest User

Untitled

a guest
Nov 16th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.96 KB | None | 0 0
  1. Passed test 1: add and contains methods SortedSet
  2. Passed test 2: remove method UnsortedSet
  3. Passed test 3: size method UnsortedSet
  4. Passed test 4: containsAll method UnsortedSet
  5. Passed test 5: containsAll method UnsortedSet
  6. Passed test 6: difference and equals methods UnsortedSet
  7. Passed test 7: union and equals methods UnsortedSet
  8. Passed test 8: intersection and equals methods UnsortedSet
  9. Passed test 9: add and contains methods SortedSet
  10. Passed test 10: remove and contains methods SortedSet
  11. Passed test 11: size method SortedSet
  12. Passed test 12: containsAll method SortedSet
  13. Passed test 13: containsAll method SortedSet
  14. Passed test 14: difference and equals methods SortedSet
  15. Passed test 14.1: difference and equals methods SortedSet
  16. Passed test 15: union and equals methods SortedSet
  17. Passed test 16: intersection and equals methods SortedSet
  18. Passed test 17: iterator and add methods SortedSet
  19. Passed test 18: equals methods UnsortedSet
  20. Passed test 19: equals methods UnsortedSet
  21. Passed test 20: equals methods UnsortedSet
  22. Passed test 21: equals methods UnsortedSet
  23. Passed test 22: equals methods SortedSet - different types
  24. Passed test 23: equals methods SortedSet - different types
  25.  
  26. Opening Window to select file. You may have to minimize other windows.
  27.  
  28. ***** CS314 SortedSet: *****
  29. Time to add the elements in the text to this set: elapsed time: 0.048405789 seconds.
  30. Total number of words in text including duplicates: 5639
  31. Number of distinct words in this text 1977
  32. Enter y to see the contents of this set: n
  33.  
  34. ****** CS314 UnsortedSet: *****
  35. Time to add the elements in the text to this set: elapsed time: 0.079752867 seconds.
  36. Total number of words in text including duplicates: 5639
  37. Number of distinct words in this text 1977
  38. Enter y to see the contents of this set: n
  39.  
  40. ***** Java HashSet ******
  41. Time to add the elements in the text to this set: elapsed time: 0.030373308 seconds.
  42. Total number of words in text including duplicates: 5639
  43. Number of distinct words in this text 1977
  44. Enter y to see the contents of this set: n
  45.  
  46. ***** Java TreeSet ******
  47. Time to add the elements in the text to this set: elapsed time: 0.015511458 seconds.
  48. Total number of words in text including duplicates: 5639
  49. Number of distinct words in this text 1977
  50. Enter y to see the contents of this set: n
  51.  
  52. Another file? Enter y to do another file: y
  53.  
  54. Opening Window to select file. You may have to minimize other windows.
  55.  
  56. ***** CS314 SortedSet: *****
  57. Time to add the elements in the text to this set: elapsed time: 0.412866244 seconds.
  58. Total number of words in text including duplicates: 215830
  59. Number of distinct words in this text 33585
  60. Enter y to see the contents of this set: n
  61.  
  62. ****** CS314 UnsortedSet: *****
  63. Time to add the elements in the text to this set: elapsed time: 9.080561562 seconds.
  64. Total number of words in text including duplicates: 215830
  65. Number of distinct words in this text 33585
  66. Enter y to see the contents of this set: n
  67.  
  68. ***** Java HashSet ******
  69. Time to add the elements in the text to this set: elapsed time: 0.239021253 seconds.
  70. Total number of words in text including duplicates: 215830
  71. Number of distinct words in this text 33585
  72. Enter y to see the contents of this set: n
  73.  
  74. ***** Java TreeSet ******
  75. Time to add the elements in the text to this set: elapsed time: 0.279519282 seconds.
  76. Total number of words in text including duplicates: 215830
  77. Number of distinct words in this text 33585
  78. Enter y to see the contents of this set: n
  79.  
  80. Another file? Enter y to do another file: y
  81.  
  82. Opening Window to select file. You may have to minimize other windows.
  83.  
  84. ***** CS314 SortedSet: *****
  85. Time to add the elements in the text to this set: elapsed time: 0.220946006 seconds.
  86. Total number of words in text including duplicates: 78098
  87. Number of distinct words in this text 12204
  88. Enter y to see the contents of this set: n
  89.  
  90. ****** CS314 UnsortedSet: *****
  91. Time to add the elements in the text to this set: elapsed time: 1.323602339 seconds.
  92. Total number of words in text including duplicates: 78098
  93. Number of distinct words in this text 12204
  94. Enter y to see the contents of this set: n
  95.  
  96. ***** Java HashSet ******
  97. Time to add the elements in the text to this set: elapsed time: 0.060330936 seconds.
  98. Total number of words in text including duplicates: 78098
  99. Number of distinct words in this text 12204
  100. Enter y to see the contents of this set: n
  101.  
  102. ***** Java TreeSet ******
  103. Time to add the elements in the text to this set: elapsed time: 0.076569835 seconds.
  104. Total number of words in text including duplicates: 78098
  105. Number of distinct words in this text 12204
  106. Enter y to see the contents of this set: n
  107.  
  108. Another file? Enter y to do another file: y
  109.  
  110. Opening Window to select file. You may have to minimize other windows.
  111.  
  112. ***** CS314 SortedSet: *****
  113. Time to add the elements in the text to this set: elapsed time: 0.207860632 seconds.
  114. Total number of words in text including duplicates: 124592
  115. Number of distinct words in this text 13639
  116. Enter y to see the contents of this set: n
  117.  
  118. ****** CS314 UnsortedSet: *****
  119. Time to add the elements in the text to this set: elapsed time: 1.646790282 seconds.
  120. Total number of words in text including duplicates: 124592
  121. Number of distinct words in this text 13639
  122. Enter y to see the contents of this set: n
  123.  
  124. ***** Java HashSet ******
  125. Time to add the elements in the text to this set: elapsed time: 0.112621112 seconds.
  126. Total number of words in text including duplicates: 124592
  127. Number of distinct words in this text 13639
  128. Enter y to see the contents of this set: n
  129.  
  130. ***** Java TreeSet ******
  131. Time to add the elements in the text to this set: elapsed time: 0.128499924 seconds.
  132. Total number of words in text including duplicates: 124592
  133. Number of distinct words in this text 13639
  134. Enter y to see the contents of this set: n
  135.  
  136. Another file? Enter y to do another file: y
  137.  
  138. Opening Window to select file. You may have to minimize other windows.
  139.  
  140. ***** CS314 SortedSet: *****
  141. Time to add the elements in the text to this set: elapsed time: 1.099634099 seconds.
  142. Total number of words in text including duplicates: 824146
  143. Number of distinct words in this text 34057
  144. Enter y to see the contents of this set: n
  145.  
  146. ****** CS314 UnsortedSet: *****
  147. Time to add the elements in the text to this set: elapsed time: 30.433938921 seconds.
  148. Total number of words in text including duplicates: 824146
  149. Number of distinct words in this text 34057
  150. Enter y to see the contents of this set: n
  151.  
  152. ***** Java HashSet ******
  153. Time to add the elements in the text to this set: elapsed time: 0.569648673 seconds.
  154. Total number of words in text including duplicates: 824146
  155. Number of distinct words in this text 34057
  156. Enter y to see the contents of this set: n
  157.  
  158. ***** Java TreeSet ******
  159. Time to add the elements in the text to this set: elapsed time: 0.686049824 seconds.
  160. Total number of words in text including duplicates: 824146
  161. Number of distinct words in this text 34057
  162. Enter y to see the contents of this set: n
  163.  
  164. Another file? Enter y to do another file: n
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement