Granularity.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="zh">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_202) on Fri Jul 15 17:05:13 CST 2022 -->
  6. <title>Granularity</title>
  7. <meta name="date" content="2022-07-15">
  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="Granularity";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10,"i1":10,"i2":9,"i3":9};
  22. var tabs = {65535:["t0","所有方法"],1:["t1","静态方法"],2:["t2","实例方法"],8:["t4","具体方法"]};
  23. var altColor = "altColor";
  24. var rowColor = "rowColor";
  25. var tableTab = "tableTab";
  26. var activeTableTab = "activeTableTab";
  27. </script>
  28. <noscript>
  29. <div>您的浏览器已禁用 JavaScript。</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="跳过导航链接">跳过导航链接</a></div>
  36. <a name="navbar.top.firstrow">
  37. <!-- -->
  38. </a>
  39. <ul class="navList" title="导航">
  40. <li><a href="../db/package-summary.html">程序包</a></li>
  41. <li class="navBarCell1Rev">类</li>
  42. <li><a href="package-tree.html">树</a></li>
  43. <li><a href="../deprecated-list.html">已过时</a></li>
  44. <li><a href="../index-files/index-1.html">索引</a></li>
  45. <li><a href="../help-doc.html">帮助</a></li>
  46. </ul>
  47. </div>
  48. <div class="subNav">
  49. <ul class="navList">
  50. <li><a href="../db/FlowInfo.html" title="db中的类"><span class="typeNameLink">上一个类</span></a></li>
  51. <li><a href="../db/PointData.html" title="db中的类"><span class="typeNameLink">下一个类</span></a></li>
  52. </ul>
  53. <ul class="navList">
  54. <li><a href="../index.html?db/Granularity.html" target="_top">框架</a></li>
  55. <li><a href="Granularity.html" target="_top">无框架</a></li>
  56. </ul>
  57. <ul class="navList" id="allclasses_navbar_top">
  58. <li><a href="../allclasses-noframe.html">所有类</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>概要:&nbsp;</li>
  75. <li>嵌套&nbsp;|&nbsp;</li>
  76. <li><a href="#enum.constant.summary">枚举常量</a>&nbsp;|&nbsp;</li>
  77. <li>字段&nbsp;|&nbsp;</li>
  78. <li><a href="#method.summary">方法</a></li>
  79. </ul>
  80. <ul class="subNavList">
  81. <li>详细资料:&nbsp;</li>
  82. <li><a href="#enum.constant.detail">枚举常量</a>&nbsp;|&nbsp;</li>
  83. <li>字段&nbsp;|&nbsp;</li>
  84. <li><a href="#method.detail">方法</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. <div class="subTitle">db</div>
  94. <h2 title="枚举 Granularity" class="title">枚举 Granularity</h2>
  95. </div>
  96. <div class="contentContainer">
  97. <ul class="inheritance">
  98. <li>java.lang.Object</li>
  99. <li>
  100. <ul class="inheritance">
  101. <li>java.lang.Enum&lt;<a href="../db/Granularity.html" title="db中的枚举">Granularity</a>&gt;</li>
  102. <li>
  103. <ul class="inheritance">
  104. <li>db.Granularity</li>
  105. </ul>
  106. </li>
  107. </ul>
  108. </li>
  109. </ul>
  110. <div class="description">
  111. <ul class="blockList">
  112. <li class="blockList">
  113. <dl>
  114. <dt>所有已实现的接口:</dt>
  115. <dd>java.io.Serializable, java.lang.Comparable&lt;<a href="../db/Granularity.html" title="db中的枚举">Granularity</a>&gt;</dd>
  116. </dl>
  117. <hr>
  118. <br>
  119. <pre>public enum <span class="typeNameLabel">Granularity</span>
  120. extends java.lang.Enum&lt;<a href="../db/Granularity.html" title="db中的枚举">Granularity</a>&gt;</pre>
  121. </li>
  122. </ul>
  123. </div>
  124. <div class="summary">
  125. <ul class="blockList">
  126. <li class="blockList">
  127. <!-- =========== ENUM CONSTANT SUMMARY =========== -->
  128. <ul class="blockList">
  129. <li class="blockList"><a name="enum.constant.summary">
  130. <!-- -->
  131. </a>
  132. <h3>枚举常量概要</h3>
  133. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="枚举常量概要表, 列表枚举常量和解释">
  134. <caption><span>枚举常量</span><span class="tabEnd">&nbsp;</span></caption>
  135. <tr>
  136. <th class="colOne" scope="col">枚举常量和说明</th>
  137. </tr>
  138. <tr class="altColor">
  139. <td class="colOne"><code><span class="memberNameLink"><a href="../db/Granularity.html#DAY">DAY</a></span></code>&nbsp;</td>
  140. </tr>
  141. <tr class="rowColor">
  142. <td class="colOne"><code><span class="memberNameLink"><a href="../db/Granularity.html#HOUR">HOUR</a></span></code>&nbsp;</td>
  143. </tr>
  144. <tr class="altColor">
  145. <td class="colOne"><code><span class="memberNameLink"><a href="../db/Granularity.html#MINUTE">MINUTE</a></span></code>&nbsp;</td>
  146. </tr>
  147. <tr class="rowColor">
  148. <td class="colOne"><code><span class="memberNameLink"><a href="../db/Granularity.html#MONTH">MONTH</a></span></code>&nbsp;</td>
  149. </tr>
  150. <tr class="altColor">
  151. <td class="colOne"><code><span class="memberNameLink"><a href="../db/Granularity.html#YEAR">YEAR</a></span></code>&nbsp;</td>
  152. </tr>
  153. </table>
  154. </li>
  155. </ul>
  156. <!-- ========== METHOD SUMMARY =========== -->
  157. <ul class="blockList">
  158. <li class="blockList"><a name="method.summary">
  159. <!-- -->
  160. </a>
  161. <h3>方法概要</h3>
  162. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
  163. <caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">静态方法</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  164. <tr>
  165. <th class="colFirst" scope="col">限定符和类型</th>
  166. <th class="colLast" scope="col">方法和说明</th>
  167. </tr>
  168. <tr id="i0" class="altColor">
  169. <td class="colFirst"><code>java.lang.String</code></td>
  170. <td class="colLast"><code><span class="memberNameLink"><a href="../db/Granularity.html#getValue--">getValue</a></span>()</code>&nbsp;</td>
  171. </tr>
  172. <tr id="i1" class="rowColor">
  173. <td class="colFirst"><code>void</code></td>
  174. <td class="colLast"><code><span class="memberNameLink"><a href="../db/Granularity.html#setValue-java.lang.String-">setValue</a></span>(java.lang.String&nbsp;value)</code>&nbsp;</td>
  175. </tr>
  176. <tr id="i2" class="altColor">
  177. <td class="colFirst"><code>static <a href="../db/Granularity.html" title="db中的枚举">Granularity</a></code></td>
  178. <td class="colLast"><code><span class="memberNameLink"><a href="../db/Granularity.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String&nbsp;name)</code>
  179. <div class="block">返回带有指定名称的该类型的枚举常量。</div>
  180. </td>
  181. </tr>
  182. <tr id="i3" class="rowColor">
  183. <td class="colFirst"><code>static <a href="../db/Granularity.html" title="db中的枚举">Granularity</a>[]</code></td>
  184. <td class="colLast"><code><span class="memberNameLink"><a href="../db/Granularity.html#values--">values</a></span>()</code>
  185. <div class="block">按照声明该枚举类型的常量的顺序, 返回
  186. 包含这些常量的数组。</div>
  187. </td>
  188. </tr>
  189. </table>
  190. <ul class="blockList">
  191. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
  192. <!-- -->
  193. </a>
  194. <h3>从类继承的方法&nbsp;java.lang.Enum</h3>
  195. <code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
  196. </ul>
  197. <ul class="blockList">
  198. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  199. <!-- -->
  200. </a>
  201. <h3>从类继承的方法&nbsp;java.lang.Object</h3>
  202. <code>getClass, notify, notifyAll, wait, wait, wait</code></li>
  203. </ul>
  204. </li>
  205. </ul>
  206. </li>
  207. </ul>
  208. </div>
  209. <div class="details">
  210. <ul class="blockList">
  211. <li class="blockList">
  212. <!-- ============ ENUM CONSTANT DETAIL =========== -->
  213. <ul class="blockList">
  214. <li class="blockList"><a name="enum.constant.detail">
  215. <!-- -->
  216. </a>
  217. <h3>枚举常量详细资料</h3>
  218. <a name="MINUTE">
  219. <!-- -->
  220. </a>
  221. <ul class="blockList">
  222. <li class="blockList">
  223. <h4>MINUTE</h4>
  224. <pre>public static final&nbsp;<a href="../db/Granularity.html" title="db中的枚举">Granularity</a> MINUTE</pre>
  225. </li>
  226. </ul>
  227. <a name="HOUR">
  228. <!-- -->
  229. </a>
  230. <ul class="blockList">
  231. <li class="blockList">
  232. <h4>HOUR</h4>
  233. <pre>public static final&nbsp;<a href="../db/Granularity.html" title="db中的枚举">Granularity</a> HOUR</pre>
  234. </li>
  235. </ul>
  236. <a name="DAY">
  237. <!-- -->
  238. </a>
  239. <ul class="blockList">
  240. <li class="blockList">
  241. <h4>DAY</h4>
  242. <pre>public static final&nbsp;<a href="../db/Granularity.html" title="db中的枚举">Granularity</a> DAY</pre>
  243. </li>
  244. </ul>
  245. <a name="MONTH">
  246. <!-- -->
  247. </a>
  248. <ul class="blockList">
  249. <li class="blockList">
  250. <h4>MONTH</h4>
  251. <pre>public static final&nbsp;<a href="../db/Granularity.html" title="db中的枚举">Granularity</a> MONTH</pre>
  252. </li>
  253. </ul>
  254. <a name="YEAR">
  255. <!-- -->
  256. </a>
  257. <ul class="blockListLast">
  258. <li class="blockList">
  259. <h4>YEAR</h4>
  260. <pre>public static final&nbsp;<a href="../db/Granularity.html" title="db中的枚举">Granularity</a> YEAR</pre>
  261. </li>
  262. </ul>
  263. </li>
  264. </ul>
  265. <!-- ============ METHOD DETAIL ========== -->
  266. <ul class="blockList">
  267. <li class="blockList"><a name="method.detail">
  268. <!-- -->
  269. </a>
  270. <h3>方法详细资料</h3>
  271. <a name="values--">
  272. <!-- -->
  273. </a>
  274. <ul class="blockList">
  275. <li class="blockList">
  276. <h4>values</h4>
  277. <pre>public static&nbsp;<a href="../db/Granularity.html" title="db中的枚举">Granularity</a>[]&nbsp;values()</pre>
  278. <div class="block">按照声明该枚举类型的常量的顺序, 返回
  279. 包含这些常量的数组。该方法可用于迭代
  280. 常量, 如下所示:
  281. <pre>
  282. for (Granularity c : Granularity.values())
  283. &nbsp; System.out.println(c);
  284. </pre></div>
  285. <dl>
  286. <dt><span class="returnLabel">返回:</span></dt>
  287. <dd>按照声明该枚举类型的常量的顺序返回的包含这些常量的数组</dd>
  288. </dl>
  289. </li>
  290. </ul>
  291. <a name="valueOf-java.lang.String-">
  292. <!-- -->
  293. </a>
  294. <ul class="blockList">
  295. <li class="blockList">
  296. <h4>valueOf</h4>
  297. <pre>public static&nbsp;<a href="../db/Granularity.html" title="db中的枚举">Granularity</a>&nbsp;valueOf(java.lang.String&nbsp;name)</pre>
  298. <div class="block">返回带有指定名称的该类型的枚举常量。
  299. 字符串必须与用于声明该类型的枚举常量的
  300. 标识符<i>完全</i>匹配。(不允许有多余
  301. 的空格字符。)</div>
  302. <dl>
  303. <dt><span class="paramLabel">参数:</span></dt>
  304. <dd><code>name</code> - 要返回的枚举常量的名称。</dd>
  305. <dt><span class="returnLabel">返回:</span></dt>
  306. <dd>返回带有指定名称的枚举常量</dd>
  307. <dt><span class="throwsLabel">抛出:</span></dt>
  308. <dd><code>java.lang.IllegalArgumentException</code> - 如果该枚举类型没有带有指定名称的常量</dd>
  309. <dd><code>java.lang.NullPointerException</code> - 如果参数为空值</dd>
  310. </dl>
  311. </li>
  312. </ul>
  313. <a name="getValue--">
  314. <!-- -->
  315. </a>
  316. <ul class="blockList">
  317. <li class="blockList">
  318. <h4>getValue</h4>
  319. <pre>public&nbsp;java.lang.String&nbsp;getValue()</pre>
  320. </li>
  321. </ul>
  322. <a name="setValue-java.lang.String-">
  323. <!-- -->
  324. </a>
  325. <ul class="blockListLast">
  326. <li class="blockList">
  327. <h4>setValue</h4>
  328. <pre>public&nbsp;void&nbsp;setValue(java.lang.String&nbsp;value)</pre>
  329. </li>
  330. </ul>
  331. </li>
  332. </ul>
  333. </li>
  334. </ul>
  335. </div>
  336. </div>
  337. <!-- ========= END OF CLASS DATA ========= -->
  338. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  339. <div class="bottomNav"><a name="navbar.bottom">
  340. <!-- -->
  341. </a>
  342. <div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
  343. <a name="navbar.bottom.firstrow">
  344. <!-- -->
  345. </a>
  346. <ul class="navList" title="导航">
  347. <li><a href="../db/package-summary.html">程序包</a></li>
  348. <li class="navBarCell1Rev">类</li>
  349. <li><a href="package-tree.html">树</a></li>
  350. <li><a href="../deprecated-list.html">已过时</a></li>
  351. <li><a href="../index-files/index-1.html">索引</a></li>
  352. <li><a href="../help-doc.html">帮助</a></li>
  353. </ul>
  354. </div>
  355. <div class="subNav">
  356. <ul class="navList">
  357. <li><a href="../db/FlowInfo.html" title="db中的类"><span class="typeNameLink">上一个类</span></a></li>
  358. <li><a href="../db/PointData.html" title="db中的类"><span class="typeNameLink">下一个类</span></a></li>
  359. </ul>
  360. <ul class="navList">
  361. <li><a href="../index.html?db/Granularity.html" target="_top">框架</a></li>
  362. <li><a href="Granularity.html" target="_top">无框架</a></li>
  363. </ul>
  364. <ul class="navList" id="allclasses_navbar_bottom">
  365. <li><a href="../allclasses-noframe.html">所有类</a></li>
  366. </ul>
  367. <div>
  368. <script type="text/javascript"><!--
  369. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  370. if(window==top) {
  371. allClassesLink.style.display = "block";
  372. }
  373. else {
  374. allClassesLink.style.display = "none";
  375. }
  376. //-->
  377. </script>
  378. </div>
  379. <div>
  380. <ul class="subNavList">
  381. <li>概要:&nbsp;</li>
  382. <li>嵌套&nbsp;|&nbsp;</li>
  383. <li><a href="#enum.constant.summary">枚举常量</a>&nbsp;|&nbsp;</li>
  384. <li>字段&nbsp;|&nbsp;</li>
  385. <li><a href="#method.summary">方法</a></li>
  386. </ul>
  387. <ul class="subNavList">
  388. <li>详细资料:&nbsp;</li>
  389. <li><a href="#enum.constant.detail">枚举常量</a>&nbsp;|&nbsp;</li>
  390. <li>字段&nbsp;|&nbsp;</li>
  391. <li><a href="#method.detail">方法</a></li>
  392. </ul>
  393. </div>
  394. <a name="skip.navbar.bottom">
  395. <!-- -->
  396. </a></div>
  397. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  398. </body>
  399. </html>