-
Notifications
You must be signed in to change notification settings - Fork 0
/
classca_1_1q0r_1_1mchat_1_1util_1_1_timer.html
272 lines (253 loc) · 15.4 KB
/
classca_1_1q0r_1_1mchat_1_1util_1_1_timer.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>MChat: ca.q0r.mchat.util.Timer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">MChat
 <span id="projectnumber">665d695d93a958ecb7d8e2b09d4fb775285ffee3</span>
</div>
<div id="projectbrief">Chat Formatting Plugin for the Bukkit Minecraft Server Mod.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classca_1_1q0r_1_1mchat_1_1util_1_1_timer.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Variables</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="classca_1_1q0r_1_1mchat_1_1util_1_1_timer-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ca.q0r.mchat.util.Timer Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Class used when a <a class="el" href="classca_1_1q0r_1_1mchat_1_1util_1_1_timer.html" title="Class used when a Timer is needed. ">Timer</a> is needed.
<a href="classca_1_1q0r_1_1mchat_1_1util_1_1_timer.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a5f612145e783095a3ca113b052932dd0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5f612145e783095a3ca113b052932dd0"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1q0r_1_1mchat_1_1util_1_1_timer.html#a5f612145e783095a3ca113b052932dd0">Timer</a> ()</td></tr>
<tr class="memdesc:a5f612145e783095a3ca113b052932dd0"><td class="mdescLeft"> </td><td class="mdescRight">Class Initializer, also starts timer. <br/></td></tr>
<tr class="separator:a5f612145e783095a3ca113b052932dd0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a02da8153820913b3c3957adab780d7ad"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a02da8153820913b3c3957adab780d7ad"></a>
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1q0r_1_1mchat_1_1util_1_1_timer.html#a02da8153820913b3c3957adab780d7ad">reset</a> ()</td></tr>
<tr class="memdesc:a02da8153820913b3c3957adab780d7ad"><td class="mdescLeft"> </td><td class="mdescRight">Resets start and end values. <br/></td></tr>
<tr class="separator:a02da8153820913b3c3957adab780d7ad"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a05ebb80e2a61ab642f2ac826ffe12620"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a05ebb80e2a61ab642f2ac826ffe12620"></a>
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1q0r_1_1mchat_1_1util_1_1_timer.html#a05ebb80e2a61ab642f2ac826ffe12620">start</a> ()</td></tr>
<tr class="memdesc:a05ebb80e2a61ab642f2ac826ffe12620"><td class="mdescLeft"> </td><td class="mdescRight">Starts timer. <br/></td></tr>
<tr class="separator:a05ebb80e2a61ab642f2ac826ffe12620"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a98bee24022cc58b85f2338697d64c1d5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a98bee24022cc58b85f2338697d64c1d5"></a>
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1q0r_1_1mchat_1_1util_1_1_timer.html#a98bee24022cc58b85f2338697d64c1d5">stop</a> ()</td></tr>
<tr class="memdesc:a98bee24022cc58b85f2338697d64c1d5"><td class="mdescLeft"> </td><td class="mdescRight">Stops timer. <br/></td></tr>
<tr class="separator:a98bee24022cc58b85f2338697d64c1d5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acab3ff07abdddf0f30bbd7b3675ad5fa"><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1q0r_1_1mchat_1_1util_1_1_timer.html#acab3ff07abdddf0f30bbd7b3675ad5fa">difference</a> ()</td></tr>
<tr class="memdesc:acab3ff07abdddf0f30bbd7b3675ad5fa"><td class="mdescLeft"> </td><td class="mdescRight">Calculates Difference. <a href="#acab3ff07abdddf0f30bbd7b3675ad5fa">More...</a><br/></td></tr>
<tr class="separator:acab3ff07abdddf0f30bbd7b3675ad5fa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4b1ddb47c1251be403806223fd84dca3"><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1q0r_1_1mchat_1_1util_1_1_timer.html#a4b1ddb47c1251be403806223fd84dca3">differenceInSeconds</a> ()</td></tr>
<tr class="memdesc:a4b1ddb47c1251be403806223fd84dca3"><td class="mdescLeft"> </td><td class="mdescRight">Calculates Difference. <a href="#a4b1ddb47c1251be403806223fd84dca3">More...</a><br/></td></tr>
<tr class="separator:a4b1ddb47c1251be403806223fd84dca3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9f21aeddac449ac4ecb5cc752d9f7c33"><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1q0r_1_1mchat_1_1util_1_1_timer.html#a9f21aeddac449ac4ecb5cc752d9f7c33">differenceInMillis</a> ()</td></tr>
<tr class="memdesc:a9f21aeddac449ac4ecb5cc752d9f7c33"><td class="mdescLeft"> </td><td class="mdescRight">Calculates Difference. <a href="#a9f21aeddac449ac4ecb5cc752d9f7c33">More...</a><br/></td></tr>
<tr class="separator:a9f21aeddac449ac4ecb5cc752d9f7c33"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aae459b0cbecb1779ab7fbbafb1e355fb"><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1q0r_1_1mchat_1_1util_1_1_timer.html#aae459b0cbecb1779ab7fbbafb1e355fb">differenceInMicros</a> ()</td></tr>
<tr class="memdesc:aae459b0cbecb1779ab7fbbafb1e355fb"><td class="mdescLeft"> </td><td class="mdescRight">Calculates Difference. <a href="#aae459b0cbecb1779ab7fbbafb1e355fb">More...</a><br/></td></tr>
<tr class="separator:aae459b0cbecb1779ab7fbbafb1e355fb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7c526d6e570623accd7db682d83a2ac1"><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1q0r_1_1mchat_1_1util_1_1_timer.html#a7c526d6e570623accd7db682d83a2ac1">differenceInNanos</a> ()</td></tr>
<tr class="memdesc:a7c526d6e570623accd7db682d83a2ac1"><td class="mdescLeft"> </td><td class="mdescRight">Calculates Difference. <a href="#a7c526d6e570623accd7db682d83a2ac1">More...</a><br/></td></tr>
<tr class="separator:a7c526d6e570623accd7db682d83a2ac1"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class used when a <a class="el" href="classca_1_1q0r_1_1mchat_1_1util_1_1_timer.html" title="Class used when a Timer is needed. ">Timer</a> is needed. </p>
<p>Definition at line <a class="el" href="_timer_8java_source.html#l00006">6</a> of file <a class="el" href="_timer_8java_source.html">Timer.java</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="acab3ff07abdddf0f30bbd7b3675ad5fa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">long ca.q0r.mchat.util.Timer.difference </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Calculates Difference. </p>
<dl class="section return"><dt>Returns</dt><dd>Difference between start and end values in milliseconds. </dd></dl>
<p>Definition at line <a class="el" href="_timer_8java_source.html#l00044">44</a> of file <a class="el" href="_timer_8java_source.html">Timer.java</a>.</p>
</div>
</div>
<a class="anchor" id="aae459b0cbecb1779ab7fbbafb1e355fb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">long ca.q0r.mchat.util.Timer.differenceInMicros </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Calculates Difference. </p>
<dl class="section return"><dt>Returns</dt><dd>Difference between start and end values in microseconds. </dd></dl>
<p>Definition at line <a class="el" href="_timer_8java_source.html#l00071">71</a> of file <a class="el" href="_timer_8java_source.html">Timer.java</a>.</p>
</div>
</div>
<a class="anchor" id="a9f21aeddac449ac4ecb5cc752d9f7c33"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">long ca.q0r.mchat.util.Timer.differenceInMillis </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Calculates Difference. </p>
<dl class="section return"><dt>Returns</dt><dd>Difference between start and end values in milliseconds. </dd></dl>
<p>Definition at line <a class="el" href="_timer_8java_source.html#l00062">62</a> of file <a class="el" href="_timer_8java_source.html">Timer.java</a>.</p>
</div>
</div>
<a class="anchor" id="a7c526d6e570623accd7db682d83a2ac1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">long ca.q0r.mchat.util.Timer.differenceInNanos </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Calculates Difference. </p>
<dl class="section return"><dt>Returns</dt><dd>Difference between start and end values in nanoseconds. </dd></dl>
<p>Definition at line <a class="el" href="_timer_8java_source.html#l00080">80</a> of file <a class="el" href="_timer_8java_source.html">Timer.java</a>.</p>
</div>
</div>
<a class="anchor" id="a4b1ddb47c1251be403806223fd84dca3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">long ca.q0r.mchat.util.Timer.differenceInSeconds </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Calculates Difference. </p>
<dl class="section return"><dt>Returns</dt><dd>Difference between start and end values in seconds. </dd></dl>
<p>Definition at line <a class="el" href="_timer_8java_source.html#l00053">53</a> of file <a class="el" href="_timer_8java_source.html">Timer.java</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/main/java/ca/q0r/mchat/util/<a class="el" href="_timer_8java_source.html">Timer.java</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><b>ca</b></li><li class="navelem"><b>q0r</b></li><li class="navelem"><b>mchat</b></li><li class="navelem"><b>util</b></li><li class="navelem"><a class="el" href="classca_1_1q0r_1_1mchat_1_1util_1_1_timer.html">Timer</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
</ul>
</div>
</body>
</html>