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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. #BlueJ package file
  2. dependency1.from=Account
  3. dependency1.to=AccountException
  4. dependency1.type=UsesDependency
  5. dependency2.from=DepositAccount
  6. dependency2.to=AccountException
  7. dependency2.type=UsesDependency
  8. editor.fx.0.height=722
  9. editor.fx.0.width=800
  10. editor.fx.0.x=114
  11. editor.fx.0.y=175
  12. objectbench.height=101
  13. objectbench.width=461
  14. package.divider.horizontal=0.6
  15. package.divider.vertical=0.8007380073800738
  16. package.editor.height=427
  17. package.editor.width=674
  18. package.editor.x=1006
  19. package.editor.y=133
  20. package.frame.height=600
  21. package.frame.width=800
  22. package.numDependencies=2
  23. package.numTargets=13
  24. package.showExtends=true
  25. package.showUses=true
  26. project.charset=UTF-8
  27. readme.height=58
  28. readme.name=@README
  29. readme.width=47
  30. readme.x=10
  31. readme.y=10
  32. target1.height=50
  33. target1.name=CalendarGraphic
  34. target1.showInterface=false
  35. target1.type=ClassTarget
  36. target1.width=130
  37. target1.x=450
  38. target1.y=190
  39. target10.height=50
  40. target10.name=Scrabble
  41. target10.showInterface=false
  42. target10.type=ClassTarget
  43. target10.width=80
  44. target10.x=10
  45. target10.y=250
  46. target11.height=50
  47. target11.name=TriangleTwo
  48. target11.showInterface=false
  49. target11.type=ClassTarget
  50. target11.width=100
  51. target11.x=120
  52. target11.y=310
  53. target12.height=50
  54. target12.name=AccountException
  55. target12.showInterface=false
  56. target12.type=ClassTarget
  57. target12.width=140
  58. target12.x=190
  59. target12.y=30
  60. target13.height=50
  61. target13.name=DateException
  62. target13.showInterface=false
  63. target13.type=ClassTarget
  64. target13.width=120
  65. target13.x=470
  66. target13.y=340
  67. target2.height=50
  68. target2.name=Account
  69. target2.showInterface=false
  70. target2.type=ClassTarget
  71. target2.width=80
  72. target2.x=50
  73. target2.y=110
  74. target3.height=50
  75. target3.name=Calendar1
  76. target3.showInterface=false
  77. target3.type=ClassTarget
  78. target3.width=90
  79. target3.x=330
  80. target3.y=220
  81. target4.height=50
  82. target4.name=Squares
  83. target4.showInterface=false
  84. target4.type=ClassTarget
  85. target4.width=80
  86. target4.x=100
  87. target4.y=250
  88. target5.height=50
  89. target5.name=Calendar
  90. target5.showInterface=false
  91. target5.type=ClassTarget
  92. target5.width=80
  93. target5.x=490
  94. target5.y=270
  95. target6.height=50
  96. target6.name=TriangleOne
  97. target6.showInterface=false
  98. target6.type=ClassTarget
  99. target6.width=100
  100. target6.x=10
  101. target6.y=310
  102. target7.height=50
  103. target7.name=TextIO
  104. target7.showInterface=false
  105. target7.type=ClassTarget
  106. target7.width=80
  107. target7.x=490
  108. target7.y=40
  109. target8.height=50
  110. target8.name=Date
  111. target8.showInterface=false
  112. target8.type=ClassTarget
  113. target8.width=80
  114. target8.x=350
  115. target8.y=290
  116. target9.height=50
  117. target9.name=DepositAccount
  118. target9.showInterface=false
  119. target9.type=ClassTarget
  120. target9.width=120
  121. target9.x=170
  122. target9.y=120