COSC_4P82_Assignment_1/lib/lilgp/lilgpMonitor/javadocs/Timer.html

76 lines
1.9 KiB
HTML
Raw Normal View History

2024-02-13 21:21:51 -05:00
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Sat May 10 12:23:02 1997 -->
<a name="_top_"></a>
<title>
Class Timer
</title>
</head>
<body>
<h1>
Class Timer
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
|
+----<a href="java.lang.Thread.html#_top_">java.lang.Thread</a>
|
+----Timer
</pre>
<hr>
<dl>
<dt> class <b>Timer</b>
<dt> extends <a href="java.lang.Thread.html#_top_">Thread</a>
</dl>
This is a very simple timer class runs in its own thread, It starts
a new Thread and sleeps fot the interval of time supplied to the
ccnstructor method. Classes that wish to use this class must
implement the Timed interface.
<hr>
<a name="index"></a>
<h2>
<img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
<dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#Timer(Timed, int)"><b>Timer</b></a>(Timed, int)
<dd>
</dl>
<h2>
<img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#run()"><b>run</b></a>()
<dd>
</dl>
<a name="constructors"></a>
<h2>
<img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="Timer"></a>
<a name="Timer(Timed, int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>Timer</b>
<pre>
public Timer(<a href="Timed.html#_top_">Timed</a> t,
int i)
</pre>
<a name="methods"></a>
<h2>
<img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="run()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="run"><b>run</b></a>
<pre>
public void run()
</pre>
<dl>
<dl>
<dt> <b>Overrides:</b>
<dd> <a href="java.lang.Thread.html#run()">run</a> in class <a href="java.lang.Thread.html#_top_">Thread</a>
</dl>
</dl>
</body>
</html>