another early Lab using BlueJ.

Address.html 9.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_144) on Fri Apr 27 10:24:20 EDT 2018 -->
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <title>Address (people2)</title>
  8. <meta name="date" content="2018-04-27">
  9. <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
  10. <script type="text/javascript" src="script.js"></script>
  11. </head>
  12. <body>
  13. <script type="text/javascript"><!--
  14. try {
  15. if (location.href.indexOf('is-external=true') == -1) {
  16. parent.document.title="Address (people2)";
  17. }
  18. }
  19. catch(err) {
  20. }
  21. //-->
  22. var methods = {"i0":10};
  23. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
  24. var altColor = "altColor";
  25. var rowColor = "rowColor";
  26. var tableTab = "tableTab";
  27. var activeTableTab = "activeTableTab";
  28. </script>
  29. <noscript>
  30. <div>JavaScript is disabled on your browser.</div>
  31. </noscript>
  32. <!-- ========= START OF TOP NAVBAR ======= -->
  33. <div class="topNav"><a name="navbar.top">
  34. <!-- -->
  35. </a>
  36. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  37. <a name="navbar.top.firstrow">
  38. <!-- -->
  39. </a>
  40. <ul class="navList" title="Navigation">
  41. <li><a href="package-summary.html">Package</a></li>
  42. <li class="navBarCell1Rev">Class</li>
  43. <li><a href="package-tree.html">Tree</a></li>
  44. <li><a href="index-all.html">Index</a></li>
  45. <li><a href="help-doc.html">Help</a></li>
  46. </ul>
  47. </div>
  48. <div class="subNav">
  49. <ul class="navList">
  50. <li>Prev&nbsp;Class</li>
  51. <li><a href="Database.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  52. </ul>
  53. <ul class="navList">
  54. <li><a href="index.html?Address.html" target="_top">Frames</a></li>
  55. <li><a href="Address.html" target="_top">No&nbsp;Frames</a></li>
  56. </ul>
  57. <ul class="navList" id="allclasses_navbar_top">
  58. <li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
  59. </ul>
  60. <div>
  61. <script type="text/javascript"><!--
  62. allClassesLink = document.getElementById("allclasses_navbar_top");
  63. if(window==top) {
  64. allClassesLink.style.display = "block";
  65. }
  66. else {
  67. allClassesLink.style.display = "none";
  68. }
  69. //-->
  70. </script>
  71. </div>
  72. <div>
  73. <ul class="subNavList">
  74. <li>Summary:&nbsp;</li>
  75. <li>Nested&nbsp;|&nbsp;</li>
  76. <li>Field&nbsp;|&nbsp;</li>
  77. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  78. <li><a href="#method.summary">Method</a></li>
  79. </ul>
  80. <ul class="subNavList">
  81. <li>Detail:&nbsp;</li>
  82. <li>Field&nbsp;|&nbsp;</li>
  83. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  84. <li><a href="#method.detail">Method</a></li>
  85. </ul>
  86. </div>
  87. <a name="skip.navbar.top">
  88. <!-- -->
  89. </a></div>
  90. <!-- ========= END OF TOP NAVBAR ========= -->
  91. <!-- ======== START OF CLASS DATA ======== -->
  92. <div class="header">
  93. <h2 title="Class Address" class="title">Class Address</h2>
  94. </div>
  95. <div class="contentContainer">
  96. <ul class="inheritance">
  97. <li>java.lang.Object</li>
  98. <li>
  99. <ul class="inheritance">
  100. <li>Address</li>
  101. </ul>
  102. </li>
  103. </ul>
  104. <div class="description">
  105. <ul class="blockList">
  106. <li class="blockList">
  107. <hr>
  108. <br>
  109. <pre>public class <span class="typeNameLabel">Address</span>
  110. extends java.lang.Object</pre>
  111. <div class="block">Class Address - used to store address details for a post address</div>
  112. <dl>
  113. <dt><span class="simpleTagLabel">Version:</span></dt>
  114. <dd>1.0, January 1999</dd>
  115. <dt><span class="simpleTagLabel">Author:</span></dt>
  116. <dd>Michael Kölling</dd>
  117. </dl>
  118. </li>
  119. </ul>
  120. </div>
  121. <div class="summary">
  122. <ul class="blockList">
  123. <li class="blockList">
  124. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  125. <ul class="blockList">
  126. <li class="blockList"><a name="constructor.summary">
  127. <!-- -->
  128. </a>
  129. <h3>Constructor Summary</h3>
  130. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  131. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  132. <tr>
  133. <th class="colOne" scope="col">Constructor and Description</th>
  134. </tr>
  135. <tr class="altColor">
  136. <td class="colOne"><code><span class="memberNameLink"><a href="Address.html#Address-java.lang.String-java.lang.String-java.lang.String-">Address</a></span>(java.lang.String&nbsp;street,
  137. java.lang.String&nbsp;town,
  138. java.lang.String&nbsp;postCode)</code>
  139. <div class="block">Construct an Address without country</div>
  140. </td>
  141. </tr>
  142. <tr class="rowColor">
  143. <td class="colOne"><code><span class="memberNameLink"><a href="Address.html#Address-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">Address</a></span>(java.lang.String&nbsp;street,
  144. java.lang.String&nbsp;town,
  145. java.lang.String&nbsp;postCode,
  146. java.lang.String&nbsp;country)</code>
  147. <div class="block">Construct an Address with full details</div>
  148. </td>
  149. </tr>
  150. </table>
  151. </li>
  152. </ul>
  153. <!-- ========== METHOD SUMMARY =========== -->
  154. <ul class="blockList">
  155. <li class="blockList"><a name="method.summary">
  156. <!-- -->
  157. </a>
  158. <h3>Method Summary</h3>
  159. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  160. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  161. <tr>
  162. <th class="colFirst" scope="col">Modifier and Type</th>
  163. <th class="colLast" scope="col">Method and Description</th>
  164. </tr>
  165. <tr id="i0" class="altColor">
  166. <td class="colFirst"><code>java.lang.String</code></td>
  167. <td class="colLast"><code><span class="memberNameLink"><a href="Address.html#toString--">toString</a></span>()</code>
  168. <div class="block">Return a string representation of this object.</div>
  169. </td>
  170. </tr>
  171. </table>
  172. <ul class="blockList">
  173. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  174. <!-- -->
  175. </a>
  176. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  177. <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
  178. </ul>
  179. </li>
  180. </ul>
  181. </li>
  182. </ul>
  183. </div>
  184. <div class="details">
  185. <ul class="blockList">
  186. <li class="blockList">
  187. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  188. <ul class="blockList">
  189. <li class="blockList"><a name="constructor.detail">
  190. <!-- -->
  191. </a>
  192. <h3>Constructor Detail</h3>
  193. <a name="Address-java.lang.String-java.lang.String-java.lang.String-">
  194. <!-- -->
  195. </a>
  196. <ul class="blockList">
  197. <li class="blockList">
  198. <h4>Address</h4>
  199. <pre>public&nbsp;Address(java.lang.String&nbsp;street,
  200. java.lang.String&nbsp;town,
  201. java.lang.String&nbsp;postCode)</pre>
  202. <div class="block">Construct an Address without country</div>
  203. </li>
  204. </ul>
  205. <a name="Address-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">
  206. <!-- -->
  207. </a>
  208. <ul class="blockListLast">
  209. <li class="blockList">
  210. <h4>Address</h4>
  211. <pre>public&nbsp;Address(java.lang.String&nbsp;street,
  212. java.lang.String&nbsp;town,
  213. java.lang.String&nbsp;postCode,
  214. java.lang.String&nbsp;country)</pre>
  215. <div class="block">Construct an Address with full details</div>
  216. </li>
  217. </ul>
  218. </li>
  219. </ul>
  220. <!-- ============ METHOD DETAIL ========== -->
  221. <ul class="blockList">
  222. <li class="blockList"><a name="method.detail">
  223. <!-- -->
  224. </a>
  225. <h3>Method Detail</h3>
  226. <a name="toString--">
  227. <!-- -->
  228. </a>
  229. <ul class="blockListLast">
  230. <li class="blockList">
  231. <h4>toString</h4>
  232. <pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
  233. <div class="block">Return a string representation of this object.</div>
  234. <dl>
  235. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  236. <dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
  237. </dl>
  238. </li>
  239. </ul>
  240. </li>
  241. </ul>
  242. </li>
  243. </ul>
  244. </div>
  245. </div>
  246. <!-- ========= END OF CLASS DATA ========= -->
  247. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  248. <div class="bottomNav"><a name="navbar.bottom">
  249. <!-- -->
  250. </a>
  251. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  252. <a name="navbar.bottom.firstrow">
  253. <!-- -->
  254. </a>
  255. <ul class="navList" title="Navigation">
  256. <li><a href="package-summary.html">Package</a></li>
  257. <li class="navBarCell1Rev">Class</li>
  258. <li><a href="package-tree.html">Tree</a></li>
  259. <li><a href="index-all.html">Index</a></li>
  260. <li><a href="help-doc.html">Help</a></li>
  261. </ul>
  262. </div>
  263. <div class="subNav">
  264. <ul class="navList">
  265. <li>Prev&nbsp;Class</li>
  266. <li><a href="Database.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  267. </ul>
  268. <ul class="navList">
  269. <li><a href="index.html?Address.html" target="_top">Frames</a></li>
  270. <li><a href="Address.html" target="_top">No&nbsp;Frames</a></li>
  271. </ul>
  272. <ul class="navList" id="allclasses_navbar_bottom">
  273. <li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
  274. </ul>
  275. <div>
  276. <script type="text/javascript"><!--
  277. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  278. if(window==top) {
  279. allClassesLink.style.display = "block";
  280. }
  281. else {
  282. allClassesLink.style.display = "none";
  283. }
  284. //-->
  285. </script>
  286. </div>
  287. <div>
  288. <ul class="subNavList">
  289. <li>Summary:&nbsp;</li>
  290. <li>Nested&nbsp;|&nbsp;</li>
  291. <li>Field&nbsp;|&nbsp;</li>
  292. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  293. <li><a href="#method.summary">Method</a></li>
  294. </ul>
  295. <ul class="subNavList">
  296. <li>Detail:&nbsp;</li>
  297. <li>Field&nbsp;|&nbsp;</li>
  298. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  299. <li><a href="#method.detail">Method</a></li>
  300. </ul>
  301. </div>
  302. <a name="skip.navbar.bottom">
  303. <!-- -->
  304. </a></div>
  305. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  306. </body>
  307. </html>