Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 17ad7c06ad085ce3d354548dd774b404ca36102d (plain) (blame)
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
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (1.8.0_191) on Mon Jan 28 10:50:17 CET 2019 -->
<title>FactoryUtil</title>
<meta name="date" content="2019-01-28">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
</head>
<body>
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.app4mc.amalthea.model.util</div>
<h2 title="Class FactoryUtil" class="title">Class FactoryUtil</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>Object</li>
<li>
<ul class="inheritance">
<li>FactoryUtil</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">FactoryUtil</span>
extends Object</pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="#FactoryUtil--">FactoryUtil</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static DataRate</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#createDataRate-long-org.eclipse.app4mc.amalthea.model.DataRateUnit-">createDataRate</a></span>(long&nbsp;value,
              DataRateUnit&nbsp;unit)</code>
<div class="block">Creates a data rate out of a value and a unit</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static DataSize</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#createDataSize-long-org.eclipse.app4mc.amalthea.model.DataSizeUnit-">createDataSize</a></span>(long&nbsp;value,
              DataSizeUnit&nbsp;unit)</code>
<div class="block">Creates a data size out of a value and a unit</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static DiscreteValueBoundaries</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#createDiscreteValueBoundaries-long-long-">createDiscreteValueBoundaries</a></span>(long&nbsp;min,
                             long&nbsp;max)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static DiscreteValueConstant</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#createDiscreteValueConstant-long-">createDiscreteValueConstant</a></span>(long&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static DiscreteValueGaussDistribution</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#createDiscreteValueGaussDistribution-double-double-">createDiscreteValueGaussDistribution</a></span>(double&nbsp;mean,
                                    double&nbsp;sd)</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static DiscreteValueGaussDistribution</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#createDiscreteValueGaussDistribution-double-double-java.lang.Long-java.lang.Long-">createDiscreteValueGaussDistribution</a></span>(double&nbsp;mean,
                                    double&nbsp;sd,
                                    Long&nbsp;min,
                                    Long&nbsp;max)</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static ExecutionNeed</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#createExecutionNeed-org.eclipse.app4mc.amalthea.model.HwFeature-org.eclipse.app4mc.amalthea.model.IDiscreteValueDeviation-">createExecutionNeed</a></span>(HwFeature&nbsp;feature,
                   IDiscreteValueDeviation&nbsp;usages)</code>
<div class="block">Creates ExecutionNeed for a feature, need set.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static ExecutionNeed</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#createExecutionNeed-java.lang.String-org.eclipse.app4mc.amalthea.model.IDiscreteValueDeviation-">createExecutionNeed</a></span>(String&nbsp;featureCategory,
                   IDiscreteValueDeviation&nbsp;usages)</code>
<div class="block">Creates ExecutionNeed for a featureCategoryName, need set.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static Frequency</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#createFrequency-double-org.eclipse.app4mc.amalthea.model.FrequencyUnit-">createFrequency</a></span>(double&nbsp;value,
               FrequencyUnit&nbsp;unit)</code>
<div class="block">Creates a frequency out of a value and a unit</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static DiscreteValueConstant</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#createLatency-long-">createLatency</a></span>(long&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static Time</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#createTime-java.math.BigInteger-java.lang.String-">createTime</a></span>(BigInteger&nbsp;value,
          String&nbsp;unit)</code>
<div class="block">Creates a time out of a value and a unit given as String.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>static Time</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#createTime-java.math.BigInteger-org.eclipse.app4mc.amalthea.model.TimeUnit-">createTime</a></span>(BigInteger&nbsp;value,
          TimeUnit&nbsp;unit)</code>
<div class="block">Creates a time out of a value and a unit</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static Time</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#createTime-long-java.lang.String-">createTime</a></span>(long&nbsp;value,
          String&nbsp;unit)</code>
<div class="block">Creates a time out of a value and a unit given as String.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>static Time</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#createTime-long-org.eclipse.app4mc.amalthea.model.TimeUnit-">createTime</a></span>(long&nbsp;value,
          TimeUnit&nbsp;unit)</code>
<div class="block">Creates a time out of a value and a unit</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>static Time</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#createTime-java.lang.String-">createTime</a></span>(String&nbsp;timeString)</code>
<div class="block">Creates a Time object parsed from a text representation.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>static Time</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#createTime-org.eclipse.app4mc.amalthea.model.Time-">createTime</a></span>(Time&nbsp;inputTime)</code>
<div class="block">Creates a new time based on a time</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>static TypeRef</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#createTypeRef-org.eclipse.app4mc.amalthea.model.TypeDefinition-">createTypeRef</a></span>(TypeDefinition&nbsp;typeDefinition)</code>
<div class="block">Creates a TypeRef object that refers to a type definition</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>static Voltage</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#createVoltage-double-org.eclipse.app4mc.amalthea.model.VoltageUnit-">createVoltage</a></span>(double&nbsp;value,
             VoltageUnit&nbsp;unit)</code>
<div class="block">Creates a voltage out of a value and a unit</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>static DiscreteValueWeibullEstimatorsDistribution</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#createWeibullDistribution-long-double-long-double-">createWeibullDistribution</a></span>(long&nbsp;min,
                         double&nbsp;avg,
                         long&nbsp;max,
                         double&nbsp;promille)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;Object</h3>
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="FactoryUtil--">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>FactoryUtil</h4>
<pre>public&nbsp;FactoryUtil()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="createDataSize-long-org.eclipse.app4mc.amalthea.model.DataSizeUnit-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createDataSize</h4>
<pre>public static&nbsp;DataSize&nbsp;createDataSize(long&nbsp;value,
                                      DataSizeUnit&nbsp;unit)</pre>
<div class="block">Creates a data size out of a value and a unit</div>
</li>
</ul>
<a name="createDataRate-long-org.eclipse.app4mc.amalthea.model.DataRateUnit-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createDataRate</h4>
<pre>public static&nbsp;DataRate&nbsp;createDataRate(long&nbsp;value,
                                      DataRateUnit&nbsp;unit)</pre>
<div class="block">Creates a data rate out of a value and a unit</div>
</li>
</ul>
<a name="createFrequency-double-org.eclipse.app4mc.amalthea.model.FrequencyUnit-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFrequency</h4>
<pre>public static&nbsp;Frequency&nbsp;createFrequency(double&nbsp;value,
                                        FrequencyUnit&nbsp;unit)</pre>
<div class="block">Creates a frequency out of a value and a unit</div>
</li>
</ul>
<a name="createVoltage-double-org.eclipse.app4mc.amalthea.model.VoltageUnit-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createVoltage</h4>
<pre>public static&nbsp;Voltage&nbsp;createVoltage(double&nbsp;value,
                                    VoltageUnit&nbsp;unit)</pre>
<div class="block">Creates a voltage out of a value and a unit</div>
</li>
</ul>
<a name="createTime-org.eclipse.app4mc.amalthea.model.Time-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTime</h4>
<pre>public static&nbsp;Time&nbsp;createTime(Time&nbsp;inputTime)</pre>
<div class="block">Creates a new time based on a time</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>inputTime</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New time object</dd>
</dl>
</li>
</ul>
<a name="createTime-long-org.eclipse.app4mc.amalthea.model.TimeUnit-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTime</h4>
<pre>public static&nbsp;Time&nbsp;createTime(long&nbsp;value,
                              TimeUnit&nbsp;unit)</pre>
<div class="block">Creates a time out of a value and a unit</div>
</li>
</ul>
<a name="createTime-java.math.BigInteger-org.eclipse.app4mc.amalthea.model.TimeUnit-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTime</h4>
<pre>public static&nbsp;Time&nbsp;createTime(BigInteger&nbsp;value,
                              TimeUnit&nbsp;unit)</pre>
<div class="block">Creates a time out of a value and a unit</div>
</li>
</ul>
<a name="createTime-long-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTime</h4>
<pre>public static&nbsp;Time&nbsp;createTime(long&nbsp;value,
                              String&nbsp;unit)</pre>
<div class="block">Creates a time out of a value and a unit given as String.</div>
</li>
</ul>
<a name="createTime-java.math.BigInteger-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTime</h4>
<pre>public static&nbsp;Time&nbsp;createTime(BigInteger&nbsp;value,
                              String&nbsp;unit)</pre>
<div class="block">Creates a time out of a value and a unit given as String.</div>
</li>
</ul>
<a name="createTime-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTime</h4>
<pre>public static&nbsp;Time&nbsp;createTime(String&nbsp;timeString)</pre>
<div class="block">Creates a Time object parsed from a text representation.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>timeString</code> - string representation of a time (number followed by time unit s, ms, us, ns or ps)</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The new Time object</dd>
</dl>
</li>
</ul>
<a name="createTypeRef-org.eclipse.app4mc.amalthea.model.TypeDefinition-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTypeRef</h4>
<pre>public static&nbsp;TypeRef&nbsp;createTypeRef(TypeDefinition&nbsp;typeDefinition)</pre>
<div class="block">Creates a TypeRef object that refers to a type definition</div>
</li>
</ul>
<a name="createDiscreteValueConstant-long-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createDiscreteValueConstant</h4>
<pre>public static&nbsp;DiscreteValueConstant&nbsp;createDiscreteValueConstant(long&nbsp;value)</pre>
</li>
</ul>
<a name="createDiscreteValueBoundaries-long-long-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createDiscreteValueBoundaries</h4>
<pre>public static&nbsp;DiscreteValueBoundaries&nbsp;createDiscreteValueBoundaries(long&nbsp;min,
                                                                    long&nbsp;max)</pre>
</li>
</ul>
<a name="createDiscreteValueGaussDistribution-double-double-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createDiscreteValueGaussDistribution</h4>
<pre>public static&nbsp;DiscreteValueGaussDistribution&nbsp;createDiscreteValueGaussDistribution(double&nbsp;mean,
                                                                                  double&nbsp;sd)</pre>
</li>
</ul>
<a name="createDiscreteValueGaussDistribution-double-double-java.lang.Long-java.lang.Long-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createDiscreteValueGaussDistribution</h4>
<pre>public static&nbsp;DiscreteValueGaussDistribution&nbsp;createDiscreteValueGaussDistribution(double&nbsp;mean,
                                                                                  double&nbsp;sd,
                                                                                  Long&nbsp;min,
                                                                                  Long&nbsp;max)</pre>
</li>
</ul>
<a name="createWeibullDistribution-long-double-long-double-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createWeibullDistribution</h4>
<pre>public static&nbsp;DiscreteValueWeibullEstimatorsDistribution&nbsp;createWeibullDistribution(long&nbsp;min,
                                                                                   double&nbsp;avg,
                                                                                   long&nbsp;max,
                                                                                   double&nbsp;promille)</pre>
</li>
</ul>
<a name="createExecutionNeed-java.lang.String-org.eclipse.app4mc.amalthea.model.IDiscreteValueDeviation-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createExecutionNeed</h4>
<pre>public static&nbsp;ExecutionNeed&nbsp;createExecutionNeed(String&nbsp;featureCategory,
                                                IDiscreteValueDeviation&nbsp;usages)</pre>
<div class="block">Creates ExecutionNeed for a featureCategoryName, need set.</div>
</li>
</ul>
<a name="createExecutionNeed-org.eclipse.app4mc.amalthea.model.HwFeature-org.eclipse.app4mc.amalthea.model.IDiscreteValueDeviation-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createExecutionNeed</h4>
<pre>public static&nbsp;ExecutionNeed&nbsp;createExecutionNeed(HwFeature&nbsp;feature,
                                                IDiscreteValueDeviation&nbsp;usages)</pre>
<div class="block">Creates ExecutionNeed for a feature, need set.</div>
</li>
</ul>
<a name="createLatency-long-">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>createLatency</h4>
<pre>public static&nbsp;DiscreteValueConstant&nbsp;createLatency(long&nbsp;value)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
</body>
</html>

Back to the top