some code samples, various examples of simple modeling ideas and some minor algorithms.

package.bluej 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. #BlueJ package file
  2. dependency1.from=Calendar1
  3. dependency1.to=CalendarGraphic
  4. dependency1.type=UsesDependency
  5. dependency10.from=AccountTest
  6. dependency10.to=Account
  7. dependency10.type=UsesDependency
  8. dependency2.from=Calendar1
  9. dependency2.to=DateException
  10. dependency2.type=UsesDependency
  11. dependency3.from=Calendar
  12. dependency3.to=DateException
  13. dependency3.type=UsesDependency
  14. dependency4.from=Date
  15. dependency4.to=DateException
  16. dependency4.type=UsesDependency
  17. dependency5.from=DepositAccount
  18. dependency5.to=AccountException
  19. dependency5.type=UsesDependency
  20. dependency6.from=ScrabbleTest
  21. dependency6.to=Scrabble
  22. dependency6.type=UsesDependency
  23. dependency7.from=Account
  24. dependency7.to=AccountException
  25. dependency7.type=UsesDependency
  26. dependency8.from=SquaresTest
  27. dependency8.to=Squares
  28. dependency8.type=UsesDependency
  29. dependency9.from=TriangleOneTest
  30. dependency9.to=TriangleOne
  31. dependency9.type=UsesDependency
  32. editor.fx.0.height=721
  33. editor.fx.0.width=800
  34. editor.fx.0.x=294
  35. editor.fx.0.y=23
  36. objectbench.height=179
  37. objectbench.width=461
  38. package.divider.horizontal=0.6
  39. package.divider.vertical=0.6990291262135923
  40. package.editor.height=425
  41. package.editor.width=674
  42. package.editor.x=235
  43. package.editor.y=23
  44. package.frame.height=676
  45. package.frame.width=800
  46. package.numDependencies=10
  47. package.numTargets=18
  48. package.showExtends=true
  49. package.showUses=true
  50. project.charset=UTF-8
  51. readme.height=58
  52. readme.name=@README
  53. readme.width=47
  54. readme.x=10
  55. readme.y=10
  56. target1.height=50
  57. target1.name=CalendarGraphic
  58. target1.showInterface=false
  59. target1.type=ClassTarget
  60. target1.width=130
  61. target1.x=450
  62. target1.y=190
  63. target10.height=50
  64. target10.name=ScrabbleTest
  65. target10.showInterface=false
  66. target10.type=UnitTestTargetJunit4
  67. target10.width=80
  68. target10.x=40
  69. target10.y=220
  70. target11.association=ScrabbleTest
  71. target11.height=50
  72. target11.name=Scrabble
  73. target11.showInterface=false
  74. target11.type=ClassTarget
  75. target11.width=80
  76. target11.x=10
  77. target11.y=250
  78. target12.height=50
  79. target12.name=DepositAccount
  80. target12.showInterface=false
  81. target12.type=ClassTarget
  82. target12.width=120
  83. target12.x=170
  84. target12.y=120
  85. target13.height=50
  86. target13.name=TriangleTwo
  87. target13.showInterface=false
  88. target13.type=ClassTarget
  89. target13.width=100
  90. target13.x=220
  91. target13.y=350
  92. target14.height=50
  93. target14.name=AccountException
  94. target14.showInterface=false
  95. target14.type=ClassTarget
  96. target14.width=140
  97. target14.x=190
  98. target14.y=30
  99. target15.height=50
  100. target15.name=DateTest
  101. target15.showInterface=false
  102. target15.type=UnitTestTargetJunit4
  103. target15.width=80
  104. target15.x=360
  105. target15.y=350
  106. target16.height=50
  107. target16.name=AccountTest
  108. target16.showInterface=false
  109. target16.type=UnitTestTargetJunit4
  110. target16.width=100
  111. target16.x=60
  112. target16.y=70
  113. target17.height=50
  114. target17.name=DateException
  115. target17.showInterface=false
  116. target17.type=ClassTarget
  117. target17.width=120
  118. target17.x=470
  119. target17.y=340
  120. target18.height=50
  121. target18.name=TriangleOneTest
  122. target18.showInterface=false
  123. target18.type=UnitTestTargetJunit4
  124. target18.width=100
  125. target18.x=60
  126. target18.y=320
  127. target2.height=50
  128. target2.name=Calendar1
  129. target2.showInterface=false
  130. target2.type=ClassTarget
  131. target2.width=90
  132. target2.x=330
  133. target2.y=220
  134. target3.height=50
  135. target3.name=Account
  136. target3.showInterface=false
  137. target3.type=ClassTarget
  138. target3.width=80
  139. target3.x=20
  140. target3.y=130
  141. target4.height=50
  142. target4.name=Squares
  143. target4.showInterface=false
  144. target4.type=ClassTarget
  145. target4.width=80
  146. target4.x=170
  147. target4.y=280
  148. target5.height=50
  149. target5.name=Calendar
  150. target5.showInterface=false
  151. target5.type=ClassTarget
  152. target5.width=80
  153. target5.x=490
  154. target5.y=270
  155. target6.association=TriangleOneTest
  156. target6.height=50
  157. target6.name=TriangleOne
  158. target6.showInterface=false
  159. target6.type=ClassTarget
  160. target6.width=100
  161. target6.x=30
  162. target6.y=350
  163. target7.height=50
  164. target7.name=SquaresTest
  165. target7.showInterface=false
  166. target7.type=UnitTestTargetJunit4
  167. target7.width=100
  168. target7.x=190
  169. target7.y=230
  170. target8.height=50
  171. target8.name=TextIO
  172. target8.showInterface=false
  173. target8.type=ClassTarget
  174. target8.width=80
  175. target8.x=580
  176. target8.y=10
  177. target9.height=50
  178. target9.name=Date
  179. target9.showInterface=false
  180. target9.type=ClassTarget
  181. target9.width=80
  182. target9.x=350
  183. target9.y=290