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

TriangleOne.html 5.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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 Tue May 29 20:23:40 EDT 2018 -->
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <title>TriangleOne</title>
  8. <meta name="date" content="2018-05-29">
  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="TriangleOne";
  17. }
  18. }
  19. catch(err) {
  20. }
  21. //-->
  22. var methods = {"i0":10,"i1":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 CLASS DATA ======== -->
  33. <div class="header">
  34. <h2 title="Class TriangleOne" class="title">Class TriangleOne</h2>
  35. </div>
  36. <div class="contentContainer">
  37. <ul class="inheritance">
  38. <li>java.lang.Object</li>
  39. <li>
  40. <ul class="inheritance">
  41. <li>TriangleOne</li>
  42. </ul>
  43. </li>
  44. </ul>
  45. <div class="description">
  46. <ul class="blockList">
  47. <li class="blockList">
  48. <hr>
  49. <br>
  50. <pre>class <span class="typeNameLabel">TriangleOne</span>
  51. extends java.lang.Object</pre>
  52. </li>
  53. </ul>
  54. </div>
  55. <div class="summary">
  56. <ul class="blockList">
  57. <li class="blockList">
  58. <!-- =========== FIELD SUMMARY =========== -->
  59. <ul class="blockList">
  60. <li class="blockList"><a name="field.summary">
  61. <!-- -->
  62. </a>
  63. <h3>Field Summary</h3>
  64. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  65. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  66. <tr>
  67. <th class="colFirst" scope="col">Modifier and Type</th>
  68. <th class="colLast" scope="col">Field and Description</th>
  69. </tr>
  70. <tr class="altColor">
  71. <td class="colFirst"><code>(package private) static int</code></td>
  72. <td class="colLast"><code><span class="memberNameLink"><a href="TriangleOne.html#SIZE">SIZE</a></span></code>&nbsp;</td>
  73. </tr>
  74. </table>
  75. </li>
  76. </ul>
  77. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  78. <ul class="blockList">
  79. <li class="blockList"><a name="constructor.summary">
  80. <!-- -->
  81. </a>
  82. <h3>Constructor Summary</h3>
  83. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  84. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  85. <tr>
  86. <th class="colOne" scope="col">Constructor and Description</th>
  87. </tr>
  88. <tr class="altColor">
  89. <td class="colOne"><code><span class="memberNameLink"><a href="TriangleOne.html#TriangleOne--">TriangleOne</a></span>()</code>&nbsp;</td>
  90. </tr>
  91. </table>
  92. </li>
  93. </ul>
  94. <!-- ========== METHOD SUMMARY =========== -->
  95. <ul class="blockList">
  96. <li class="blockList"><a name="method.summary">
  97. <!-- -->
  98. </a>
  99. <h3>Method Summary</h3>
  100. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  101. <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>
  102. <tr>
  103. <th class="colFirst" scope="col">Modifier and Type</th>
  104. <th class="colLast" scope="col">Method and Description</th>
  105. </tr>
  106. <tr id="i0" class="altColor">
  107. <td class="colFirst"><code>void</code></td>
  108. <td class="colLast"><code><span class="memberNameLink"><a href="TriangleOne.html#display--">display</a></span>()</code>&nbsp;</td>
  109. </tr>
  110. <tr id="i1" class="rowColor">
  111. <td class="colFirst"><code>void</code></td>
  112. <td class="colLast"><code><span class="memberNameLink"><a href="TriangleOne.html#display-int-">display</a></span>(int&nbsp;size)</code>&nbsp;</td>
  113. </tr>
  114. </table>
  115. <ul class="blockList">
  116. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  117. <!-- -->
  118. </a>
  119. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  120. <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  121. </ul>
  122. </li>
  123. </ul>
  124. </li>
  125. </ul>
  126. </div>
  127. <div class="details">
  128. <ul class="blockList">
  129. <li class="blockList">
  130. <!-- ============ FIELD DETAIL =========== -->
  131. <ul class="blockList">
  132. <li class="blockList"><a name="field.detail">
  133. <!-- -->
  134. </a>
  135. <h3>Field Detail</h3>
  136. <a name="SIZE">
  137. <!-- -->
  138. </a>
  139. <ul class="blockListLast">
  140. <li class="blockList">
  141. <h4>SIZE</h4>
  142. <pre>static final&nbsp;int SIZE</pre>
  143. <dl>
  144. <dt><span class="seeLabel">See Also:</span></dt>
  145. <dd><a href="constant-values.html#TriangleOne.SIZE">Constant Field Values</a></dd>
  146. </dl>
  147. </li>
  148. </ul>
  149. </li>
  150. </ul>
  151. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  152. <ul class="blockList">
  153. <li class="blockList"><a name="constructor.detail">
  154. <!-- -->
  155. </a>
  156. <h3>Constructor Detail</h3>
  157. <a name="TriangleOne--">
  158. <!-- -->
  159. </a>
  160. <ul class="blockListLast">
  161. <li class="blockList">
  162. <h4>TriangleOne</h4>
  163. <pre>TriangleOne()</pre>
  164. </li>
  165. </ul>
  166. </li>
  167. </ul>
  168. <!-- ============ METHOD DETAIL ========== -->
  169. <ul class="blockList">
  170. <li class="blockList"><a name="method.detail">
  171. <!-- -->
  172. </a>
  173. <h3>Method Detail</h3>
  174. <a name="display--">
  175. <!-- -->
  176. </a>
  177. <ul class="blockList">
  178. <li class="blockList">
  179. <h4>display</h4>
  180. <pre>public&nbsp;void&nbsp;display()</pre>
  181. </li>
  182. </ul>
  183. <a name="display-int-">
  184. <!-- -->
  185. </a>
  186. <ul class="blockListLast">
  187. <li class="blockList">
  188. <h4>display</h4>
  189. <pre>public&nbsp;void&nbsp;display(int&nbsp;size)</pre>
  190. </li>
  191. </ul>
  192. </li>
  193. </ul>
  194. </li>
  195. </ul>
  196. </div>
  197. </div>
  198. <!-- ========= END OF CLASS DATA ========= -->
  199. </body>
  200. </html>