~ubuntu-branches/ubuntu/oneiric/libspin-java/oneiric

« back to all changes in this revision

Viewing changes to docs/api/spin/off/SimpleStarter.html

  • Committer: Bazaar Package Importer
  • Author(s): gregor herrmann
  • Date: 2007-01-15 16:29:48 UTC
  • Revision ID: james.westby@ubuntu.com-20070115162948-olisrjfshcvqa7qu
Tags: upstream-1.4
ImportĀ upstreamĀ versionĀ 1.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
2
<!--NewPage-->
 
3
<HTML>
 
4
<HEAD>
 
5
<!-- Generated by javadoc (build 1.4.2_01) on Tue Oct 18 20:10:26 CEST 2005 -->
 
6
<TITLE>
 
7
SimpleStarter
 
8
</TITLE>
 
9
 
 
10
<META NAME="keywords" CONTENT="spin.off.SimpleStarter class">
 
11
 
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
 
13
 
 
14
<SCRIPT type="text/javascript">
 
15
function windowTitle()
 
16
{
 
17
    parent.document.title="SimpleStarter";
 
18
}
 
19
</SCRIPT>
 
20
 
 
21
</HEAD>
 
22
 
 
23
<BODY BGCOLOR="white" onload="windowTitle();">
 
24
 
 
25
 
 
26
<!-- ========= START OF TOP NAVBAR ======= -->
 
27
<A NAME="navbar_top"><!-- --></A>
 
28
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 
29
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 
30
<TR>
 
31
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 
32
<A NAME="navbar_top_firstrow"><!-- --></A>
 
33
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 
34
  <TR ALIGN="center" VALIGN="top">
 
35
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 
36
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 
37
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 
39
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 
42
  </TR>
 
43
</TABLE>
 
44
</TD>
 
45
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 
46
</EM>
 
47
</TD>
 
48
</TR>
 
49
 
 
50
<TR>
 
51
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
52
&nbsp;<A HREF="../../spin/off/ListenerSpinOver.html" title="class in spin.off"><B>PREV CLASS</B></A>&nbsp;
 
53
&nbsp;<A HREF="../../spin/off/SpinOffEvaluator.html" title="class in spin.off"><B>NEXT CLASS</B></A></FONT></TD>
 
54
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
55
  <A HREF="../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 
56
&nbsp;<A HREF="SimpleStarter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 
57
&nbsp;<SCRIPT type="text/javascript">
 
58
  <!--
 
59
  if(window==top) {
 
60
    document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
 
61
  }
 
62
  //-->
 
63
</SCRIPT>
 
64
<NOSCRIPT>
 
65
  <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
 
66
</NOSCRIPT>
 
67
 
 
68
</FONT></TD>
 
69
</TR>
 
70
<TR>
 
71
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
72
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 
73
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
74
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 
75
</TR>
 
76
</TABLE>
 
77
<A NAME="skip-navbar_top"></A>
 
78
<!-- ========= END OF TOP NAVBAR ========= -->
 
79
 
 
80
<HR>
 
81
<!-- ======== START OF CLASS DATA ======== -->
 
82
<H2>
 
83
<FONT SIZE="-1">
 
84
spin.off</FONT>
 
85
<BR>
 
86
Class SimpleStarter</H2>
 
87
<PRE>
 
88
java.lang.Object
 
89
  <IMG SRC="../../resources/inherit.gif" ALT="extended by"><B>spin.off.SimpleStarter</B>
 
90
</PRE>
 
91
<DL>
 
92
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../spin/off/Starter.html" title="interface in spin.off">Starter</A></DD>
 
93
</DL>
 
94
<HR>
 
95
<DL>
 
96
<DT>public class <B>SimpleStarter</B><DT>extends java.lang.Object<DT>implements <A HREF="../../spin/off/Starter.html" title="interface in spin.off">Starter</A></DL>
 
97
 
 
98
<P>
 
99
Simple implementation of a <code>Starter</code> that creates a new
 
100
 thread for each invocation of <A HREF="../../spin/off/SimpleStarter.html#start(java.lang.Runnable)"><CODE>start(Runnable)</CODE></A>.
 
101
<P>
 
102
 
 
103
<P>
 
104
<HR>
 
105
 
 
106
<P>
 
107
<!-- ======== NESTED CLASS SUMMARY ======== -->
 
108
 
 
109
 
 
110
<!-- =========== FIELD SUMMARY =========== -->
 
111
 
 
112
 
 
113
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
 
114
 
 
115
<A NAME="constructor_summary"><!-- --></A>
 
116
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
117
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
118
<TD COLSPAN=2><FONT SIZE="+2">
 
119
<B>Constructor Summary</B></FONT></TD>
 
120
</TR>
 
121
<TR BGCOLOR="white" CLASS="TableRowColor">
 
122
<TD><CODE><B><A HREF="../../spin/off/SimpleStarter.html#SimpleStarter()">SimpleStarter</A></B>()</CODE>
 
123
 
 
124
<BR>
 
125
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 
126
</TR>
 
127
</TABLE>
 
128
&nbsp;
 
129
<!-- ========== METHOD SUMMARY =========== -->
 
130
 
 
131
<A NAME="method_summary"><!-- --></A>
 
132
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
133
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
134
<TD COLSPAN=2><FONT SIZE="+2">
 
135
<B>Method Summary</B></FONT></TD>
 
136
</TR>
 
137
<TR BGCOLOR="white" CLASS="TableRowColor">
 
138
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
139
<CODE>&nbsp;void</CODE></FONT></TD>
 
140
<TD><CODE><B><A HREF="../../spin/off/SimpleStarter.html#start(java.lang.Runnable)">start</A></B>(java.lang.Runnable&nbsp;runnable)</CODE>
 
141
 
 
142
<BR>
 
143
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start a runnable asynchronously.</TD>
 
144
</TR>
 
145
</TABLE>
 
146
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
 
147
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
148
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
 
149
<TD><B>Methods inherited from class java.lang.Object</B></TD>
 
150
</TR>
 
151
<TR BGCOLOR="white" CLASS="TableRowColor">
 
152
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
 
153
</TR>
 
154
</TABLE>
 
155
&nbsp;
 
156
<P>
 
157
 
 
158
<!-- ============ FIELD DETAIL =========== -->
 
159
 
 
160
 
 
161
<!-- ========= CONSTRUCTOR DETAIL ======== -->
 
162
 
 
163
<A NAME="constructor_detail"><!-- --></A>
 
164
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
165
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
166
<TD COLSPAN=1><FONT SIZE="+2">
 
167
<B>Constructor Detail</B></FONT></TD>
 
168
</TR>
 
169
</TABLE>
 
170
 
 
171
<A NAME="SimpleStarter()"><!-- --></A><H3>
 
172
SimpleStarter</H3>
 
173
<PRE>
 
174
public <B>SimpleStarter</B>()</PRE>
 
175
<DL>
 
176
</DL>
 
177
 
 
178
<!-- ============ METHOD DETAIL ========== -->
 
179
 
 
180
<A NAME="method_detail"><!-- --></A>
 
181
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
182
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
183
<TD COLSPAN=1><FONT SIZE="+2">
 
184
<B>Method Detail</B></FONT></TD>
 
185
</TR>
 
186
</TABLE>
 
187
 
 
188
<A NAME="start(java.lang.Runnable)"><!-- --></A><H3>
 
189
start</H3>
 
190
<PRE>
 
191
public void <B>start</B>(java.lang.Runnable&nbsp;runnable)</PRE>
 
192
<DL>
 
193
<DD>Start a runnable asynchronously.
 
194
<P>
 
195
<DD><DL>
 
196
<DT><B>Specified by:</B><DD><CODE><A HREF="../../spin/off/Starter.html#start(java.lang.Runnable)">start</A></CODE> in interface <CODE><A HREF="../../spin/off/Starter.html" title="interface in spin.off">Starter</A></CODE></DL>
 
197
</DD>
 
198
<DD><DL>
 
199
<DT><B>Parameters:</B><DD><CODE>runnable</CODE> - runnable to start</DL>
 
200
</DD>
 
201
</DL>
 
202
<!-- ========= END OF CLASS DATA ========= -->
 
203
<HR>
 
204
 
 
205
 
 
206
<!-- ======= START OF BOTTOM NAVBAR ====== -->
 
207
<A NAME="navbar_bottom"><!-- --></A>
 
208
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
 
209
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 
210
<TR>
 
211
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 
212
<A NAME="navbar_bottom_firstrow"><!-- --></A>
 
213
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 
214
  <TR ALIGN="center" VALIGN="top">
 
215
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 
216
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 
217
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 
218
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 
219
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 
220
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 
221
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 
222
  </TR>
 
223
</TABLE>
 
224
</TD>
 
225
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 
226
</EM>
 
227
</TD>
 
228
</TR>
 
229
 
 
230
<TR>
 
231
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
232
&nbsp;<A HREF="../../spin/off/ListenerSpinOver.html" title="class in spin.off"><B>PREV CLASS</B></A>&nbsp;
 
233
&nbsp;<A HREF="../../spin/off/SpinOffEvaluator.html" title="class in spin.off"><B>NEXT CLASS</B></A></FONT></TD>
 
234
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
235
  <A HREF="../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 
236
&nbsp;<A HREF="SimpleStarter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 
237
&nbsp;<SCRIPT type="text/javascript">
 
238
  <!--
 
239
  if(window==top) {
 
240
    document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
 
241
  }
 
242
  //-->
 
243
</SCRIPT>
 
244
<NOSCRIPT>
 
245
  <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
 
246
</NOSCRIPT>
 
247
 
 
248
</FONT></TD>
 
249
</TR>
 
250
<TR>
 
251
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
252
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 
253
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
254
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 
255
</TR>
 
256
</TABLE>
 
257
<A NAME="skip-navbar_bottom"></A>
 
258
<!-- ======== END OF BOTTOM NAVBAR ======= -->
 
259
 
 
260
<HR>
 
261
 
 
262
</BODY>
 
263
</HTML>