IdCounterElem.html 11 KB

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